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

Eliminate warnings
author Ideenmodellierer
date Sat, 02 Mar 2019 17:42:06 +0100
parents 5f11787b4f42
children ba229a012ac7
comparison
equal deleted inserted replaced
148:ee744c7160ce 149:e1d66bc78f9a
1028 1028
1029 uint8_t OnAction_First(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action) 1029 uint8_t OnAction_First(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action)
1030 { 1030 {
1031 uint8_t first, i, gasOne; 1031 uint8_t first, i, gasOne;
1032 1032
1033
1034 SDiveState * pStateReal = stateRealGetPointerWrite();
1035
1036 if(editGasPage.ccr) 1033 if(editGasPage.ccr)
1037 gasOne = 1 + NUM_OFFSET_DILUENT; 1034 gasOne = 1 + NUM_OFFSET_DILUENT;
1038 else 1035 else
1039 gasOne = 1; 1036 gasOne = 1;
1040 1037
1072 1069
1073 1070
1074 uint8_t OnAction_Deco(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action) 1071 uint8_t OnAction_Deco(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action)
1075 { 1072 {
1076 uint8_t first, deco, gasOne; 1073 uint8_t first, deco, gasOne;
1077 SDiveState * pStateReal = stateRealGetPointerWrite();
1078 1074
1079 if(editGasPage.ccr) 1075 if(editGasPage.ccr)
1080 gasOne = 1 + NUM_OFFSET_DILUENT; 1076 gasOne = 1 + NUM_OFFSET_DILUENT;
1081 else 1077 else
1082 gasOne = 1; 1078 gasOne = 1;
1128 1124
1129 1125
1130 uint8_t OnAction_Travel(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action) 1126 uint8_t OnAction_Travel(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action)
1131 { 1127 {
1132 uint8_t first, travel, gasOne; 1128 uint8_t first, travel, gasOne;
1133 SDiveState * pStateReal = stateRealGetPointerWrite();
1134 1129
1135 if(editGasPage.ccr) 1130 if(editGasPage.ccr)
1136 gasOne = 1 + NUM_OFFSET_DILUENT; 1131 gasOne = 1 + NUM_OFFSET_DILUENT;
1137 else 1132 else
1138 gasOne = 1; 1133 gasOne = 1;
1175 1170
1176 1171
1177 uint8_t OnAction_Inactive(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action) 1172 uint8_t OnAction_Inactive(uint32_t editId, uint8_t blockNumber, uint8_t digitNumber, uint8_t digitContent, uint8_t action)
1178 { 1173 {
1179 uint8_t first, inactive, gasOne; 1174 uint8_t first, inactive, gasOne;
1180 SDiveState * pStateReal = stateRealGetPointerWrite();
1181 1175
1182 if(editGasPage.ccr) 1176 if(editGasPage.ccr)
1183 gasOne = 1 + NUM_OFFSET_DILUENT; 1177 gasOne = 1 + NUM_OFFSET_DILUENT;
1184 else 1178 else
1185 gasOne = 1; 1179 gasOne = 1;