diff Discovery/Src/base.c @ 229:2c0b502b0a72 div-fixes-4-1

cleanup: fix recent extra compiler warnings This undoes 1 change from commit ff59d1d07f9c (as this non-functional change introduced numerous warnings as the parameters of strcpy are char * and not unsigned char *). And declare the type of a new variable. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author Jan Mulder <jlmulder@xs4all.nl>
date Tue, 02 Apr 2019 15:11:42 +0200
parents 2bb1db22b5f5
children 3949781096d4
line wrap: on
line diff
--- a/Discovery/Src/base.c	Tue Apr 02 14:53:15 2019 +0200
+++ b/Discovery/Src/base.c	Tue Apr 02 15:11:42 2019 +0200
@@ -294,7 +294,7 @@
 uint8_t	updateButtonsToDefault = 0;
 uint8_t	wasFirmwareUpdateCheckBattery = 0;
 
-static DoDisplayRefresh = 0;	/* trigger to refresh display data */
+static uint8_t DoDisplayRefresh = 0;	/* trigger to refresh display data */
 
 /* Private function prototypes -----------------------------------------------*/
 static void SystemClock_Config(void);