diff Discovery/Src/tMenuEditGasOC.c @ 149:e1d66bc78f9a FlipDisplay

Eliminate warnings
author Ideenmodellierer
date Sat, 02 Mar 2019 17:42:06 +0100
parents 5f11787b4f42
children ba229a012ac7
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditGasOC.c	Sat Mar 02 17:01:06 2019 +0100
+++ b/Discovery/Src/tMenuEditGasOC.c	Sat Mar 02 17:42:06 2019 +0100
@@ -1030,9 +1030,6 @@
 {
     uint8_t first, i, gasOne;
 
-
-    SDiveState * pStateReal = stateRealGetPointerWrite();
-
     if(editGasPage.ccr)
         gasOne = 1 + NUM_OFFSET_DILUENT;
     else
@@ -1074,7 +1071,6 @@
 uint8_t OnAction_Deco(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action)
 {
     uint8_t  first, deco, gasOne;
-    SDiveState * pStateReal = stateRealGetPointerWrite();
 
     if(editGasPage.ccr)
         gasOne = 1 + NUM_OFFSET_DILUENT;
@@ -1130,7 +1126,6 @@
 uint8_t OnAction_Travel(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action)
 {
     uint8_t first, travel, gasOne;
-    SDiveState * pStateReal = stateRealGetPointerWrite();
 
     if(editGasPage.ccr)
         gasOne = 1 + NUM_OFFSET_DILUENT;
@@ -1177,7 +1172,6 @@
 uint8_t OnAction_Inactive(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action)
 {
     uint8_t first, inactive, gasOne;
-    SDiveState * pStateReal = stateRealGetPointerWrite();
 
     if(editGasPage.ccr)
         gasOne = 1 + NUM_OFFSET_DILUENT;