feat: Recovery-Download beim Booten
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include "light/nl_engine.h"
|
||||
#include "net/nl_http_server.h"
|
||||
#include "net/nl_mdns.h"
|
||||
#include "net/nl_recovery.h"
|
||||
#include "net/nl_wifi.h"
|
||||
#include "sys/nl_app.h"
|
||||
#include "sys/nl_app_api.h"
|
||||
@@ -196,6 +197,7 @@ static void app_task(void *arg)
|
||||
|
||||
tls_watchdog_init(20u * 1000u * 1000u); /* 20 s */
|
||||
nl_ota_init();
|
||||
nl_recovery_try(); /* may not return: a successful recovery resets the chip */
|
||||
nl_console_start();
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user