diff Discovery/Src/tMenuEditGasOC.c @ 160:e3ca52b8e7fa

Merge with FlipDisplay
author heinrichsweikamp
date Thu, 07 Mar 2019 15:06:43 +0100
parents e1d66bc78f9a
children ba229a012ac7
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditGasOC.c	Sat Oct 06 15:02:11 2018 +0200
+++ b/Discovery/Src/tMenuEditGasOC.c	Thu Mar 07 15:06:43 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;