comparison Discovery/Src/show_logbook.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 097d7146b779
children f11f0bf6ef2d
comparison
equal deleted inserted replaced
164:3e3d1ebba956 166:255eedad4155
230 else 230 else
231 { 231 {
232 colortemp[i] = CLUT_NiceGreen; 232 colortemp[i] = CLUT_NiceGreen;
233 } 233 }
234 } 234 }
235 GFX_graph_print(hgfx,&wintemp,saveTop,1,0,datamax, decostopdata,dataLength, NULL, colortemp); 235 GFX_graph_print(hgfx,&wintemp,saveTop,1,0,datamax, decostopdata,dataLength, 0, colortemp);
236 } 236 }
237 else 237 else
238 GFX_graph_print(hgfx,&wintemp,saveTop,1,0,datamax, decostopdata,dataLength, CLUT_NiceGreen, NULL); 238 GFX_graph_print(hgfx,&wintemp,saveTop,1,0,datamax, decostopdata,dataLength, CLUT_NiceGreen, NULL);
239 } 239 }
240 240