Mercurial > public > ostc4
comparison Discovery/Src/show_logbook.c @ 583:3860b8fa4b29
Solved minor warnings
author | Ideenmodellierer |
---|---|
date | Sat, 12 Dec 2020 20:54:31 +0100 |
parents | 1c95f811967c |
children | 16e369eae6e5 |
comparison
equal
deleted
inserted
replaced
582:64bf41faab83 | 583:3860b8fa4b29 |
---|---|
472 snprintf(text,20,"#%ld",logNumber); | 472 snprintf(text,20,"#%ld",logNumber); |
473 Gfx_write_label_var(hgfx, 300, 590,10, &FontT42,CLUT_GasSensor1,text); | 473 Gfx_write_label_var(hgfx, 300, 590,10, &FontT42,CLUT_GasSensor1,text); |
474 } | 474 } |
475 | 475 |
476 //Print time | 476 //Print time |
477 uint8_t hour = logbookHeader.timeHour; | |
478 uint8_t minute = logbookHeader.timeMinute; | 477 uint8_t minute = logbookHeader.timeMinute; |
479 | 478 |
480 if (settingsGetPointer()->amPMTime) | 479 if (settingsGetPointer()->amPMTime) |
481 { | 480 { |
482 if (logbookHeader.timeHour > 11) | 481 if (logbookHeader.timeHour > 11) |