diff 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
line wrap: on
line diff
--- a/Discovery/Src/show_logbook.c	Thu Mar 07 14:15:33 2019 +0000
+++ b/Discovery/Src/show_logbook.c	Thu Mar 07 21:52:23 2019 +0100
@@ -232,7 +232,7 @@
                     colortemp[i] = CLUT_NiceGreen;
                 }
             }
-            GFX_graph_print(hgfx,&wintemp,saveTop,1,0,datamax, decostopdata,dataLength, NULL, colortemp);
+            GFX_graph_print(hgfx,&wintemp,saveTop,1,0,datamax, decostopdata,dataLength, 0, colortemp);
         }
         else
             GFX_graph_print(hgfx,&wintemp,saveTop,1,0,datamax, decostopdata,dataLength, CLUT_NiceGreen, NULL);