auto-sync

This commit is contained in:
rusEfi 2015-09-15 20:02:25 -04:00
parent aec382a946
commit d9620e07cf
2 changed files with 9 additions and 2 deletions

View File

@ -23,6 +23,7 @@
#include "settings.h"
#include "injector_central.h"
#include "engine_controller.h"
#include "mmc_card.h"
#if EFI_HD44780_LCD || defined(__DOXYGEN__)
@ -203,9 +204,15 @@ static void showLine(lcd_line_e line, int screenY) {
case LL_RPM:
lcdPrintf("RPM %d", getRpmE(engine));
{
char sdState;
if (boardConfiguration->isSdCardEnabled) {
sdState = isSdCardAlive() ? 'L' : 'n';
} else {
sdState = 'D';
}
int seconds = getTimeNowSeconds();
if (seconds < 10000) {
lcdPrintf(" %d", seconds);
lcdPrintf(" %d%c", seconds, sdState);
}
}
return;

View File

@ -275,5 +275,5 @@ int getRusEfiVersion(void) {
return 123; // this is here to make the compiler happy about the unused array
if (UNUSED_CCM_SIZE[0] * 0 != 0)
return 3211; // this is here to make the compiler happy about the unused array
return 20150913;
return 20150915;
}