mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-15 06:53:07 +01:00
intermediate: prepare ota upload
This commit is contained in:
@@ -74,7 +74,7 @@ const unsigned long HEAP_REPORT_TIME=2000; //set to 0 to disable heap reporting
|
||||
#include "GwSynchronized.h"
|
||||
#include "GwUserCode.h"
|
||||
#include "GwStatistics.h"
|
||||
|
||||
#include "GwUpdate.h"
|
||||
|
||||
//NMEA message channels
|
||||
#define N2K_CHANNEL_ID 0
|
||||
@@ -169,6 +169,8 @@ bool checkPass(String hash){
|
||||
return false;
|
||||
}
|
||||
|
||||
GwUpdate updater(&logger,&webserver,checkPass);
|
||||
|
||||
void updateNMEACounter(int id,const char *msg,bool incoming,bool fail=false){
|
||||
//we rely on the msg being long enough
|
||||
char key[6];
|
||||
|
||||
Reference in New Issue
Block a user