comparison Discovery/Src/t3.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 ecb71521d004
comparison
equal deleted inserted replaced
164:3e3d1ebba956 166:255eedad4155
179 if(status.base != BaseHome) 179 if(status.base != BaseHome)
180 return; 180 return;
181 181
182 t3screen.FBStartAdress = getFrame(24); 182 t3screen.FBStartAdress = getFrame(24);
183 t3_refresh_divemode(); 183 t3_refresh_divemode();
184 GFX_SetFramesTopBottom(t3screen.FBStartAdress, NULL,480); 184 GFX_SetFramesTopBottom(t3screen.FBStartAdress, 0,480);
185 releaseAllFramesExcept(24,t3screen.FBStartAdress); 185 releaseAllFramesExcept(24,t3screen.FBStartAdress);
186 } 186 }
187 187
188 188
189 /* Private functions ---------------------------------------------------------*/ 189 /* Private functions ---------------------------------------------------------*/