summaryrefslogtreecommitdiff
path: root/platformio/relayctl/src/leds.cpp
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2023-05-17 04:06:18 +0300
committerEvgeny Zinoviev <me@ch1p.io>2023-05-17 04:06:18 +0300
commitc0111bf4d3dd91f54d27346970e4c6e0a1ce357e (patch)
treebeb15167412bc3ed60e3e11e9076d27ea6f437e5 /platformio/relayctl/src/leds.cpp
parent893e21cc83ee1ecf236a005f1bf4893448e9b3ea (diff)
pio: products refactoring
Diffstat (limited to 'platformio/relayctl/src/leds.cpp')
-rw-r--r--platformio/relayctl/src/leds.cpp11
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);
+
+}
+