Make headers in extras more cpp friendly
This commit is contained in:
parent
2994a566a6
commit
57cb9b925c
12 changed files with 130 additions and 29 deletions
|
@ -27,6 +27,10 @@
|
|||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
uint8_t red;
|
||||
uint8_t green;
|
||||
|
@ -50,4 +54,8 @@ void ws2812_i2s_init(uint32_t pixels_number);
|
|||
*/
|
||||
void ws2812_i2s_update(ws2812_pixel_t *pixels);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // __WS2812_I2S_H__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue