safemode: add serial handler to default safemode apps
This commit is contained in:
parent
87ac61b061
commit
7b0434e3df
@ -3,6 +3,7 @@
|
|||||||
#include "./Platform.h"
|
#include "./Platform.h"
|
||||||
#include "./Static.h"
|
#include "./Static.h"
|
||||||
#include "./Config.h"
|
#include "./Config.h"
|
||||||
|
#include "./inputs/Serial.h"
|
||||||
|
|
||||||
TaskFunc safeModeNag([]{
|
TaskFunc safeModeNag([]{
|
||||||
static uint8_t frame = 0;
|
static uint8_t frame = 0;
|
||||||
@ -41,6 +42,7 @@ SafeMode::safeModeApp{{
|
|||||||
// System logging
|
// System logging
|
||||||
Static<LogService>::instance(),
|
Static<LogService>::instance(),
|
||||||
&safeModeNag,
|
&safeModeNag,
|
||||||
|
Static<SerialInput>::instance(),
|
||||||
#ifdef CONFIG_WIFI
|
#ifdef CONFIG_WIFI
|
||||||
// ESP Wifi
|
// ESP Wifi
|
||||||
Static<WiFiTask>::instance(),
|
Static<WiFiTask>::instance(),
|
||||||
|
Loading…
Reference in New Issue
Block a user