comparison 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
comparison
equal deleted inserted replaced
228:f9ba924d188e 229:2c0b502b0a72
292 uint8_t returnFromCommCleanUpRequest = 0; ///< use this to exit bluetooth mode and call tComm_exit() 292 uint8_t returnFromCommCleanUpRequest = 0; ///< use this to exit bluetooth mode and call tComm_exit()
293 uint32_t base_tempLightLevel = 0; 293 uint32_t base_tempLightLevel = 0;
294 uint8_t updateButtonsToDefault = 0; 294 uint8_t updateButtonsToDefault = 0;
295 uint8_t wasFirmwareUpdateCheckBattery = 0; 295 uint8_t wasFirmwareUpdateCheckBattery = 0;
296 296
297 static DoDisplayRefresh = 0; /* trigger to refresh display data */ 297 static uint8_t DoDisplayRefresh = 0; /* trigger to refresh display data */
298 298
299 /* Private function prototypes -----------------------------------------------*/ 299 /* Private function prototypes -----------------------------------------------*/
300 static void SystemClock_Config(void); 300 static void SystemClock_Config(void);
301 static void Error_Handler(void); 301 static void Error_Handler(void);
302 static void SDRAM_Initialization_Sequence(SDRAM_HandleTypeDef *hsdram, FMC_SDRAM_CommandTypeDef *Command); 302 static void SDRAM_Initialization_Sequence(SDRAM_HandleTypeDef *hsdram, FMC_SDRAM_CommandTypeDef *Command);