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

Eliminated some minor warnings
author ideenmodellierer
date Tue, 24 Mar 2020 22:32:48 +0100
parents f7c66593ab82
children 5e6a612d03b5
line wrap: on
line diff
--- a/Discovery/Src/t7.c	Tue Mar 24 22:14:16 2020 +0100
+++ b/Discovery/Src/t7.c	Tue Mar 24 22:32:48 2020 +0100
@@ -684,7 +684,9 @@
     uint8_t dateNotSet = 0;
 
     uint8_t oxygen_percentage, gasOffset, actualGasID;
+#ifdef ENABLE_BOTTLE_SENSOR
 	uint16_t bottleFirstGas_bar;
+#endif
     point_t start, stop;//, other;
 
 	SSettings* pSettings;
@@ -2555,7 +2557,9 @@
     uint8_t textpointer = 0;
     _Bool tinyHeaderFont = 0;
     uint8_t line = 0;
+#ifdef ENABLE_BOTTLE_SENSOR
     uint16_t agedColor = 0;
+#endif
 
     SDivetime Stopwatch = {0,0,0,0};
     float fAverageDepth, fAverageDepthAbsolute;