Browse Source

Merge pull request #1162 from recrof/led_state_fix

add default LED_STATE_ON for boards that don't have it defined
pull/1160/head
ripplebiz 7 months ago
committed by GitHub
parent
commit
eee25605ca
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      examples/companion_radio/ui-new/UITask.h

4
examples/companion_radio/ui-new/UITask.h

@ -8,6 +8,10 @@
#include <Arduino.h> #include <Arduino.h>
#include <helpers/sensors/LPPDataHelpers.h> #include <helpers/sensors/LPPDataHelpers.h>
#ifndef LED_STATE_ON
#define LED_STATE_ON 1
#endif
#ifdef PIN_BUZZER #ifdef PIN_BUZZER
#include <helpers/ui/buzzer.h> #include <helpers/ui/buzzer.h>
#endif #endif

Loading…
Cancel
Save