refactor(led): generalize LED_LORA init from ThinkNode-M7 (#11437)

Migrate LED_LORA init to match existing LED init patterns.

Signed-off-by: Andrew Yong <me@ndoo.sg>
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
This commit is contained in:
Andrew YongandJonathan Bennett authored and GitHub committed 2026-08-13 08:31:39 +02:00
1 parent 4296d5d584
commit b4c2eb0b78
2 files changed
+5 -2

No files matched your search

+5
View File
@@ -393,6 +393,11 @@ void setup()
digitalWrite(LED_NOTIFICATION, HIGH ^ LED_STATE_ON);
#endif
#ifdef LED_LORA
pinMode(LED_LORA, OUTPUT);
digitalWrite(LED_LORA, HIGH ^ LED_STATE_ON);
#endif
#ifdef WIFI_LED
pinMode(WIFI_LED, OUTPUT);
digitalWrite(WIFI_LED, HIGH ^ WIFI_STATE_ON);