main/updates.c

changeset 53
20c14b06f255
parent 47
1ab1f4a8c328
child 74
34da2d2b12d5
--- a/main/updates.c	Mon Apr 06 10:42:08 2020 +0200
+++ b/main/updates.c	Mon Apr 06 20:01:51 2020 +0200
@@ -14,6 +14,7 @@
 
 extern u8g2_t			u8g2;			///< Structure for the display.
 extern int			Main_Loop1;
+extern uint32_t			AlarmTimer;
 
 
 static void http_cleanup(esp_http_client_handle_t client)
@@ -36,6 +37,7 @@
 
     ESP_LOGI(TAG, "Update begin");
     update_running = 1;
+    AlarmTimer = 0;
     screen_updating("Stop meten", NULL);
 
     for (;;) {

mercurial