# HG changeset patch
# User Jan Mulder <jlmulder@xs4all.nl>
# Date 1554210702 -7200
# Node ID 2c0b502b0a727c3d5ac73e9e5589d65013320d01
# Parent  f9ba924d188ef93b7df8916313f07682fd126401
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>

diff -r f9ba924d188e -r 2c0b502b0a72 Discovery/Src/base.c
--- 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);
diff -r f9ba924d188e -r 2c0b502b0a72 Discovery/Src/tComm.c
--- a/Discovery/Src/tComm.c	Tue Apr 02 14:53:15 2019 +0200
+++ b/Discovery/Src/tComm.c	Tue Apr 02 15:11:42 2019 +0200
@@ -97,7 +97,7 @@
 uint8_t bluetoothActiveLastTime = 0;
 
 uint8_t StartListeningToUART = 0;
-unsigned char display_text[256] = { 0 };
+char display_text[256] = { 0 };
 
 uint8_t setForcedBluetoothName = 0;