diff Discovery/Src/tCCR.c @ 457:4bd01f48c285 minor_improvments

Eliminated some minor warnings
author ideenmodellierer
date Tue, 24 Mar 2020 22:32:48 +0100
parents 91a939915bfa
children d97f0e395058
line wrap: on
line diff
--- a/Discovery/Src/tCCR.c	Tue Mar 24 22:14:16 2020 +0100
+++ b/Discovery/Src/tCCR.c	Tue Mar 24 22:32:48 2020 +0100
@@ -362,8 +362,9 @@
 void tCCR_control(void)
 {
 	uint16_t checksum = 0;
+#ifdef ENABLE_BOTTLE_SENSOR
 	SDiveState *pLivedata = stateRealGetPointerWrite();
-
+#endif
 
 	if((UartReadyHUD == RESET) && StartListeningToUART_HUD && (time_elapsed_ms(LastReceivedTick_HUD, HAL_GetTick()) > HUD_RX_START_DELAY_MS))
 	{