diff Discovery/Src/t7.c @ 51:8f8ea3a32e82

Resolved warnings pointing to possible invalid memory access
author Ideenmodellierer
date Tue, 31 Jul 2018 22:28:21 +0200
parents 5f11787b4f42
children 4276d56eb37c cc8e24374b83
line wrap: on
line diff
--- a/Discovery/Src/t7.c	Mon Jul 30 11:37:39 2018 +0200
+++ b/Discovery/Src/t7.c	Tue Jul 31 22:28:21 2018 +0200
@@ -1417,7 +1417,7 @@
     char text[256];
     uint16_t textpointer = 0;
     int16_t start;
-    uint8_t lineCountCustomtext;
+    uint8_t lineCountCustomtext = 0;
     int16_t shiftWindowY0;
     RTC_DateTypeDef Sdate;
     RTC_TimeTypeDef Stime;