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

@ -35,6 +35,10 @@
#include "espressif/esp_common.h" // sdk_os_delay_us
#include "esp/gpio.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Struct for easy manipulation of RGB colors.
*
@ -204,5 +208,8 @@ void ws2812_seq_end(void)
sdk_os_delay_us(50); // display the loaded colors
}
#ifdef __cplusplus
}
#endif
#endif /* WS2812_DRV_H */