diff Discovery/Src/tComm.c @ 130:b7689d9e888a FlipDisplay

Minor changes to improved code quality and to eliminate warnings
author Ideenmodellierer
date Sun, 17 Feb 2019 21:22:13 +0100
parents 8f8ea3a32e82
children cc9c18075e00
line wrap: on
line diff
--- a/Discovery/Src/tComm.c	Sun Feb 17 21:14:09 2019 +0100
+++ b/Discovery/Src/tComm.c	Sun Feb 17 21:22:13 2019 +0100
@@ -1610,6 +1610,7 @@
     uint32_t checksum, checksumCalc;
     uint8_t id;
 
+    checksumCalc = 0;
 
     //Get length
     if(HAL_UART_Receive(&UartHandle, sBuffer, 4,5000)!= HAL_OK) // 58000