auto-sync

This commit is contained in:
rusEfi 2016-07-17 00:02:27 -04:00
parent 3095446eae
commit 9e4eecd02c
2 changed files with 6 additions and 2 deletions

View File

@ -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);
}

View File

@ -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;
}