comparison Discovery/Src/t6_apnea.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
181 181
182 if(status.page == PageSurface) 182 if(status.page == PageSurface)
183 set_globalState(StD); 183 set_globalState(StD);
184 184
185 t6_refresh_divemode(); 185 t6_refresh_divemode();
186 GFX_SetFramesTopBottom(t6screen.FBStartAdress, NULL,480); 186 GFX_SetFramesTopBottom(t6screen.FBStartAdress, 0,480);
187 releaseAllFramesExcept(24,t6screen.FBStartAdress); 187 releaseAllFramesExcept(24,t6screen.FBStartAdress);
188 } 188 }
189 189
190 /* Private functions ---------------------------------------------------------*/ 190 /* Private functions ---------------------------------------------------------*/
191 191