auto-sync
This commit is contained in:
parent
3095446eae
commit
9e4eecd02c
|
@ -216,7 +216,7 @@ static void showLine(lcd_line_e line, int screenY) {
|
|||
} else {
|
||||
sdState = 'D';
|
||||
}
|
||||
int seconds = getTimeNowSeconds();
|
||||
efitimesec_t seconds = getTimeNowSeconds();
|
||||
if (seconds < 10000) {
|
||||
lcdPrintf(" %d%c", seconds, sdState);
|
||||
}
|
||||
|
|
|
@ -22,10 +22,14 @@ efitimems_t currentTimeMillis(void) {
|
|||
}
|
||||
|
||||
// todo; reduce code duplication with prod code?
|
||||
int getTimeNowSeconds(void) {
|
||||
efitimesec_t getTimeNowSeconds(void) {
|
||||
return chTimeNow() / CH_FREQUENCY;
|
||||
}
|
||||
|
||||
bool isWarningNow(efitimesec_t now) {
|
||||
return false;
|
||||
}
|
||||
|
||||
int getRusEfiVersion(void) {
|
||||
return 239;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue