1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-08-18 18:32:30 +02:00

handle buttons and leds completely as user tasks

This commit is contained in:
andreas
2023-10-24 15:58:43 +02:00
parent 91c1e6f85c
commit 0e10fcfee2
8 changed files with 91 additions and 57 deletions
+1 -8
View File
@@ -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