update confg + ota
This commit is contained in:
@@ -3,11 +3,15 @@
|
||||
#include "secrets.h"
|
||||
#include "defines.h"
|
||||
#include "process.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "LITTLEFS.h"
|
||||
|
||||
#define WIFICONNECTINTERVAL 1000
|
||||
|
||||
typedef enum{
|
||||
otaInit,
|
||||
otaScan,
|
||||
otaConnect,
|
||||
otaSetup,
|
||||
otaInitDone,
|
||||
@@ -18,8 +22,9 @@
|
||||
}OTASTATES;
|
||||
class OtaProcess_class : public processClass
|
||||
{
|
||||
|
||||
|
||||
uint32_t m_lastconnectTime;
|
||||
String m_psk = "";
|
||||
String m_ssid = "";
|
||||
|
||||
void active(void);
|
||||
bool initialize(void);
|
||||
|
||||
Reference in New Issue
Block a user