comparison Discovery/Src/t5_gauge.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 cc9c18075e00
children 9da7dd50e2ec
comparison
equal deleted inserted replaced
164:3e3d1ebba956 166:255eedad4155
185 185
186 if(status.page == PageSurface) 186 if(status.page == PageSurface)
187 set_globalState(StD); 187 set_globalState(StD);
188 188
189 t5_refresh_divemode(); 189 t5_refresh_divemode();
190 GFX_SetFramesTopBottom(t5screen.FBStartAdress, NULL,480); 190 GFX_SetFramesTopBottom(t5screen.FBStartAdress, 0,480);
191 releaseAllFramesExcept(24,t5screen.FBStartAdress); 191 releaseAllFramesExcept(24,t5screen.FBStartAdress);
192 } 192 }
193 193
194 194
195 /* Private functions ---------------------------------------------------------*/ 195 /* Private functions ---------------------------------------------------------*/