main/updates.c

changeset 29
106464d4c727
parent 27
8bb63daa7b46
child 40
4d8cca2d5b68
--- a/main/updates.c	Mon Nov 11 16:54:12 2019 +0100
+++ b/main/updates.c	Mon Nov 11 20:12:55 2019 +0100
@@ -37,7 +37,7 @@
 
     ESP_LOGI(TAG, "Update begin");
     update_running = 1;
-    screen_updating("Stop tests", NULL);
+    screen_updating("Stop meten", NULL);
 
     for (;;) {
 	vTaskDelay(100 / portTICK_PERIOD_MS);
@@ -50,9 +50,8 @@
 	    goto updateerr;
 	}
     }
-    screen_updating("Tests stopped", NULL);
 
-    screen_updating("Stop tests", "Start WiFi");
+    screen_updating("Stop meten", "Start WiFi");
     requestWiFi_user(true);
     timeout = 600;
     for (;;) {
@@ -67,7 +66,7 @@
         }
     }
     ESP_LOGI(TAG, "System is ready for update");
-    screen_updating("Prepare update", NULL);
+    screen_updating("Verbonden", NULL);
 
     const esp_partition_t       *running = esp_ota_get_running_partition();
 
@@ -154,7 +153,7 @@
                     }
 
 		    if (memcmp(new_app_info.app_elf_sha256, running_app_info.app_elf_sha256, 32) == 0) {
-			screen_updating("No new update", NULL);
+			screen_updating("Geen nieuwe versie", NULL);
                         ESP_LOGI(TAG, "Current running version is the same as a new.");
                         http_cleanup(client);
 			goto updateok;
@@ -211,14 +210,14 @@
     }
 
     ESP_LOGI(TAG, "Prepare to restart system!");
-    screen_updating("Reboot...", "...Reboot");
+    screen_updating("Herstar ...", "... Herstart");
     vTaskDelay(1000 / portTICK_PERIOD_MS);
     update_running = 0;
     esp_restart();
     return;
 
 updateerr:
-    screen_updating("** ERROR **", "Update failed");
+    screen_updating("** FOUT **", "Update mislukt");
 
 updateok:
     update_running = 0;

mercurial