safemode: add serial handler to default safemode apps

This commit is contained in:
Torrie Fischer 2023-12-11 07:55:05 +01:00
parent 87ac61b061
commit 7b0434e3df

View File

@ -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(),