Mercurial > public > ostc4
comparison Discovery/Src/show_logbook.c @ 457:4bd01f48c285 minor_improvments
Eliminated some minor warnings
author | ideenmodellierer |
---|---|
date | Tue, 24 Mar 2020 22:32:48 +0100 |
parents | 5a633dece17a |
children | eea282e733e8 |
comparison
equal
deleted
inserted
replaced
456:5e38b09d2c45 | 457:4bd01f48c285 |
---|---|
456 logNumber = 0; | 456 logNumber = 0; |
457 else | 457 else |
458 if(logNumber > 9999) | 458 if(logNumber > 9999) |
459 logNumber = 9999; | 459 logNumber = 9999; |
460 | 460 |
461 snprintf(text,20,"#%i",logNumber); | 461 snprintf(text,20,"#%ld",logNumber); |
462 Gfx_write_label_var(hgfx, 300, 590,10, &FontT42,CLUT_GasSensor1,text); | 462 Gfx_write_label_var(hgfx, 300, 590,10, &FontT42,CLUT_GasSensor1,text); |
463 } | 463 } |
464 | 464 |
465 //Print time | 465 //Print time |
466 uint8_t hour = logbookHeader.timeHour; | 466 uint8_t hour = logbookHeader.timeHour; |