summaryrefslogtreecommitdiff
path: root/platformio/temphum/src/leds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platformio/temphum/src/leds.cpp')
-rw-r--r--platformio/temphum/src/leds.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/platformio/temphum/src/leds.cpp b/platformio/temphum/src/leds.cpp
new file mode 100644
index 0000000..f0c9d51
--- /dev/null
+++ b/platformio/temphum/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);
+
+}
+