mirror of https://github.com/rusefi/rusefi-1.git
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 {
|
} else {
|
||||||
sdState = 'D';
|
sdState = 'D';
|
||||||
}
|
}
|
||||||
int seconds = getTimeNowSeconds();
|
efitimesec_t seconds = getTimeNowSeconds();
|
||||||
if (seconds < 10000) {
|
if (seconds < 10000) {
|
||||||
lcdPrintf(" %d%c", seconds, sdState);
|
lcdPrintf(" %d%c", seconds, sdState);
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,10 +22,14 @@ efitimems_t currentTimeMillis(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// todo; reduce code duplication with prod code?
|
// todo; reduce code duplication with prod code?
|
||||||
int getTimeNowSeconds(void) {
|
efitimesec_t getTimeNowSeconds(void) {
|
||||||
return chTimeNow() / CH_FREQUENCY;
|
return chTimeNow() / CH_FREQUENCY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool isWarningNow(efitimesec_t now) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
int getRusEfiVersion(void) {
|
int getRusEfiVersion(void) {
|
||||||
return 239;
|
return 239;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue