mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-30 10:13:04 +05:00
feat: configure the task watchdog for 60 seconds at startup
This commit is contained in:
1 parent
62d40bdbf0
commit
7f57af0129
1 file changed
+1
@@ -50,6 +50,7 @@ extern "C" void app_main() {
|
|||||||
Sensors::setMaxSensors(SENSORS_AMOUNT);
|
Sensors::setMaxSensors(SENSORS_AMOUNT);
|
||||||
Sensors::settings = sensorsSettings;
|
Sensors::settings = sensorsSettings;
|
||||||
Sensors::results = sensorsResults;
|
Sensors::results = sensorsResults;
|
||||||
|
TaskManager::configureWDT(60, true);
|
||||||
LittleFS.begin();
|
LittleFS.begin();
|
||||||
|
|
||||||
if (!initLogging()) {
|
if (!initLogging()) {
|
||||||
|
|||||||
Reference in new issue
Block a user