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:
14
lib/gwupdate/GwUpdate.h
Normal file
14
lib/gwupdate/GwUpdate.h
Normal 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);
|
||||
};
|
||||
Reference in New Issue
Block a user