1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-16 07:23:07 +01:00

intermediate: move to ldf none mode

This commit is contained in:
andreas
2023-10-27 12:26:10 +02:00
parent 62124cb22d
commit 80017af0b4
17 changed files with 157 additions and 33 deletions

14
lib/gwupdate/GwUpdate.h Normal file
View File

@@ -0,0 +1,14 @@
#pragma once
#include "GwWebServer.h"
class GwUpdate{
public:
typedef bool (*PasswordChecker)(String hash);
private:
AsyncWebServer *server;
GwLog *logger;
PasswordChecker checker;
unsigned long updateRunning=0;
public:
bool delayedRestart();
GwUpdate(GwLog *log,GwWebServer *webserver, PasswordChecker checker);
};