comparison Discovery/Src/tMenuEditPlanner.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 5f11787b4f42
children 1f557e5f4b5a
comparison
equal deleted inserted replaced
164:3e3d1ebba956 166:255eedad4155
515 } 515 }
516 516
517 517
518 void refresh_PlanResult(void) 518 void refresh_PlanResult(void)
519 { 519 {
520 char text[256], textpointer; 520 char text[256];
521 uint8_t textpointer;
521 uint16_t y_line; 522 uint16_t y_line;
522 uint8_t oxygen_percentage; 523 uint8_t oxygen_percentage;
523 int now; 524 int now;
524 525
525 if(resultPage < 0xF0) 526 if(resultPage < 0xF0)