mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-16 15:33:05 +01:00
handle buttons and leds completely as user tasks
This commit is contained in:
@@ -3,13 +3,6 @@
|
||||
#include "GwApi.h"
|
||||
//task function
|
||||
void handleLeds(GwApi *param);
|
||||
typedef enum {
|
||||
LED_OFF,
|
||||
LED_GREEN,
|
||||
LED_BLUE,
|
||||
LED_RED,
|
||||
LED_WHITE
|
||||
} GwLedMode;
|
||||
void setLedMode(GwLedMode mode);
|
||||
|
||||
DECLARE_USERTASK(handleLeds);
|
||||
#endif
|
||||
Reference in New Issue
Block a user