mirror of
https://github.com/bendtherules/Patient-counter-esp8266.git
synced 2026-08-18 13:52:39 +00:00
OTA remote - add error string
This commit is contained in:
Binary file not shown.
+3
-3
@@ -1,9 +1,9 @@
|
|||||||
#ifndef BUILD_NUMBER
|
#ifndef BUILD_NUMBER
|
||||||
#define BUILD_NUMBER 4
|
#define BUILD_NUMBER 9
|
||||||
#endif
|
#endif
|
||||||
#ifndef VERSION
|
#ifndef VERSION
|
||||||
#define VERSION "v0.1.4 - 2023-11-28 11:53:00.628775"
|
#define VERSION "v0.1.9 - 2023-11-28 12:03:55.553853"
|
||||||
#endif
|
#endif
|
||||||
#ifndef VERSION_SHORT
|
#ifndef VERSION_SHORT
|
||||||
#define VERSION_SHORT "v0.1.4"
|
#define VERSION_SHORT "v0.1.9"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
+2
-1
@@ -56,7 +56,8 @@ void handleOTARemote() {
|
|||||||
Serial.println("[update] Update failed.");
|
Serial.println("[update] Update failed.");
|
||||||
break;
|
break;
|
||||||
case HTTP_UPDATE_NO_UPDATES:
|
case HTTP_UPDATE_NO_UPDATES:
|
||||||
Serial.println("[update] Update no Update.");
|
Serial.print("[update] Update no Update. Reason -");
|
||||||
|
Serial.println(ESPhttpUpdate.getLastErrorString());
|
||||||
break;
|
break;
|
||||||
case HTTP_UPDATE_OK:
|
case HTTP_UPDATE_OK:
|
||||||
Serial.println("[update] Update ok."); // may not be called since we reboot the ESP
|
Serial.println("[update] Update ok."); // may not be called since we reboot the ESP
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
4
|
9
|
||||||
Reference in New Issue
Block a user