mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
@@ -2,7 +2,7 @@
|
||||
#include "BuildTime.h"
|
||||
|
||||
// Версия прошивки
|
||||
#define FIRMWARE_VERSION 450
|
||||
#define FIRMWARE_VERSION 451
|
||||
|
||||
#ifdef esp8266_1mb_ota
|
||||
#define FIRMWARE_NAME "esp8266_1mb_ota"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
#include "Global.h"
|
||||
//#include "Upgrade.h"
|
||||
// #include "Upgrade.h"
|
||||
#ifdef ESP8266
|
||||
//#include "ESP8266.h"
|
||||
// #include "ESP8266.h"
|
||||
#else
|
||||
#include <HTTPUpdate.h>
|
||||
#endif
|
||||
@@ -17,9 +17,9 @@ struct updateFirm {
|
||||
|
||||
extern void upgradeInit();
|
||||
extern void getLastVersion();
|
||||
extern void upgrade_firmware(int type);
|
||||
extern bool upgradeFS();
|
||||
extern bool upgradeBuild();
|
||||
extern void upgrade_firmware(int type, String path);
|
||||
extern bool upgradeFS(String path);
|
||||
extern bool upgradeBuild(String path);
|
||||
extern void restartEsp();
|
||||
|
||||
extern const String getBinPath(String file);
|
||||
|
||||
Reference in New Issue
Block a user