mirror of https://github.com/rusefi/rusefi-1.git
auto-sync
This commit is contained in:
parent
aec382a946
commit
d9620e07cf
|
@ -23,6 +23,7 @@
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "injector_central.h"
|
#include "injector_central.h"
|
||||||
#include "engine_controller.h"
|
#include "engine_controller.h"
|
||||||
|
#include "mmc_card.h"
|
||||||
|
|
||||||
#if EFI_HD44780_LCD || defined(__DOXYGEN__)
|
#if EFI_HD44780_LCD || defined(__DOXYGEN__)
|
||||||
|
|
||||||
|
@ -203,9 +204,15 @@ static void showLine(lcd_line_e line, int screenY) {
|
||||||
case LL_RPM:
|
case LL_RPM:
|
||||||
lcdPrintf("RPM %d", getRpmE(engine));
|
lcdPrintf("RPM %d", getRpmE(engine));
|
||||||
{
|
{
|
||||||
|
char sdState;
|
||||||
|
if (boardConfiguration->isSdCardEnabled) {
|
||||||
|
sdState = isSdCardAlive() ? 'L' : 'n';
|
||||||
|
} else {
|
||||||
|
sdState = 'D';
|
||||||
|
}
|
||||||
int seconds = getTimeNowSeconds();
|
int seconds = getTimeNowSeconds();
|
||||||
if (seconds < 10000) {
|
if (seconds < 10000) {
|
||||||
lcdPrintf(" %d", seconds);
|
lcdPrintf(" %d%c", seconds, sdState);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -275,5 +275,5 @@ int getRusEfiVersion(void) {
|
||||||
return 123; // this is here to make the compiler happy about the unused array
|
return 123; // this is here to make the compiler happy about the unused array
|
||||||
if (UNUSED_CCM_SIZE[0] * 0 != 0)
|
if (UNUSED_CCM_SIZE[0] * 0 != 0)
|
||||||
return 3211; // this is here to make the compiler happy about the unused array
|
return 3211; // this is here to make the compiler happy about the unused array
|
||||||
return 20150913;
|
return 20150915;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue