diff Discovery/Src/tMenuEditPlanner.c @ 699:01f40cb1057e

Cleanup warnings: The code still contained several warnings which have now been resolved. Big thank you to Thomas :-)
author Ideenmodellierer
date Tue, 18 Oct 2022 20:56:19 +0200
parents 52df13712fa3
children 21949c88da90
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditPlanner.c	Sun Sep 25 21:13:45 2022 +0200
+++ b/Discovery/Src/tMenuEditPlanner.c	Tue Oct 18 20:56:19 2022 +0200
@@ -304,7 +304,7 @@
     text[2] = 0;
     write_label_var(  20, 800, y_line, &FontT48, text);
 
-    strncpy(text,
+    strcpy(text,
         "  "
         "\016\016"
         "  l/min"
@@ -316,8 +316,7 @@
         "   "
         "\016\016"
         "   l/min"
-        "\017",
-        40
+        "\017"
     );
     write_label_var(  400, 800, y_line, &FontT48, text);