SenseCap_Solar_repeater: no LEDs -- neither the white heartbeat nor blue on every TX

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-14 01:39:46 +01:00
1 parent d23fa74642
commit 14550b5d66
2 files changed
+12

No files matched your search

@@ -4,6 +4,15 @@
#include <Arduino.h>
#include <helpers/NRF52Board.h>
// CUSTOM (TeTeHacko): a solar node in an enclosure blinks for no one -- no white
// heartbeat, no blue (pin 12) on every LoRa TX. The upstream flags stay and -U
// cannot override them (SCons puts -U after CPPDEFINES), so one define takes
// both back here. The pins are still driven LOW in begin().
#ifdef SENSECAP_SOLAR_NO_LEDS
#undef SENSECAP_SOLAR_WHITE_LED
#undef P_LORA_TX_LED
#endif
class SenseCapSolarBoard : public NRF52BoardDCDC {
#ifdef SENSECAP_SOLAR_WHITE_LED
// Dimmed white-LED heartbeat state (repeater builds only; enabled with
+3
View File
@@ -62,6 +62,9 @@ build_flags =
-D RADIO_DIAG=1
; dimmed white-LED heartbeat + OTA steady-on (repeater builds only)
-D SENSECAP_SOLAR_WHITE_LED=1
; CUSTOM (TeTeHacko): ...and off again, with the blue TX LED: a solar node in
; an enclosure blinks for no one. SenseCapSolarBoard.h.
-D SENSECAP_SOLAR_NO_LEDS=1
; -D MESH_PACKET_LOGGING=1
; -D MESH_DEBUG=1
build_src_filter = ${SenseCap_Solar.build_src_filter}