diff options
Diffstat (limited to 'platformio/relayctl/src/leds.cpp')
-rw-r--r-- | platformio/relayctl/src/leds.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/platformio/relayctl/src/leds.cpp b/platformio/relayctl/src/leds.cpp new file mode 100644 index 0000000..f0c9d51 --- /dev/null +++ b/platformio/relayctl/src/leds.cpp @@ -0,0 +1,11 @@ +#include "leds.h" + +namespace homekit { + +#ifdef CONFIG_TARGET_NODEMCU +Led* board_led = new Led(CONFIG_BOARD_LED_GPIO); +#endif +Led* mcu_led = new Led(CONFIG_MCU_LED_GPIO); + +} + |