mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
add default LED_STATE_ON for boards that don't have it defined
This commit is contained in:
parent
e054597a18
commit
052f17738c
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
@ -50,7 +54,7 @@ class UITask : public AbstractUITask {
|
||||||
UIScreen* curr;
|
UIScreen* curr;
|
||||||
|
|
||||||
void userLedHandler();
|
void userLedHandler();
|
||||||
|
|
||||||
// Button action handlers
|
// Button action handlers
|
||||||
char checkDisplayOn(char c);
|
char checkDisplayOn(char c);
|
||||||
char handleLongPress(char c);
|
char handleLongPress(char c);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue