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:
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
|
||||
|
||||
Reference in new issue
Block a user