Make headers in extras more cpp friendly

This commit is contained in:
UncleRus 2016-10-24 18:09:17 +05:00 committed by rus
parent 2994a566a6
commit 57cb9b925c
12 changed files with 130 additions and 29 deletions

View file

@ -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__