comparison Discovery/Src/tMenuEditSetpoint.c @ 166:255eedad4155 cleanup-1

cleanup: get rid of some compile warnings Compiling with -Wall and not taking action on produced warnings is pretty useless. This fixes chars used as array indexes, and using the NULL pointer as a 0 constant. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author Jan Mulder <jlmulder@xs4all.nl>
date Thu, 07 Mar 2019 21:52:23 +0100
parents b7689d9e888a
children d539ed9aa5b8
comparison
equal deleted inserted replaced
164:3e3d1ebba956 166:255eedad4155
178 else 178 else
179 { 179 {
180 /* surface mode */ 180 /* surface mode */
181 uint8_t spId, setpoint_cbar, sp_high, depthDeco, first; 181 uint8_t spId, setpoint_cbar, sp_high, depthDeco, first;
182 // uint8_t active, 182 // uint8_t active,
183 char text[70], textPointer; 183 char text[70];
184 uint8_t textPointer;
184 uint16_t y_line; 185 uint16_t y_line;
185 186
186 set_globalState_Menu_Line(line); 187 set_globalState_Menu_Line(line);
187 188
188 resetMenuEdit(CLUT_MenuPageGasSP); 189 resetMenuEdit(CLUT_MenuPageGasSP);