diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-05-17 04:06:18 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-05-17 04:06:18 +0300 |
commit | c0111bf4d3dd91f54d27346970e4c6e0a1ce357e (patch) | |
tree | beb15167412bc3ed60e3e11e9076d27ea6f437e5 /platformio/relayctl/src/leds.cpp | |
parent | 893e21cc83ee1ecf236a005f1bf4893448e9b3ea (diff) |
pio: products refactoring
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); + +} + |