better field names

This commit is contained in:
rusefi 2017-05-21 10:26:51 -04:00
parent 486e69d492
commit 9e62206089
2 changed files with 2 additions and 5 deletions

View File

@ -76,8 +76,6 @@ void writeToFlashIfPending() {
writeToFlashNow(); writeToFlashNow();
} }
extern uint32_t maxLockTime;
void writeToFlashNow(void) { void writeToFlashNow(void) {
scheduleMsg(logger, " !!!!!!!!!!!!!!!!!!!! BE SURE NOT WRITE WITH IGNITION ON !!!!!!!!!!!!!!!!!!!!"); scheduleMsg(logger, " !!!!!!!!!!!!!!!!!!!! BE SURE NOT WRITE WITH IGNITION ON !!!!!!!!!!!!!!!!!!!!");
persistentState.size = PERSISTENT_SIZE; persistentState.size = PERSISTENT_SIZE;
@ -99,7 +97,6 @@ void writeToFlashNow(void) {
scheduleMsg(logger, "Flashing failed"); scheduleMsg(logger, "Flashing failed");
} }
assertEngineReference(PASS_ENGINE_PARAMETER_SIGNATURE); assertEngineReference(PASS_ENGINE_PARAMETER_SIGNATURE);
maxLockTime = 0;
resetMaxValues(); resetMaxValues();
} }

View File

@ -44,7 +44,7 @@ static histogram_s engineSnifferHisto;
EXTERN_ENGINE EXTERN_ENGINE
; ;
extern uint32_t maxLockTime; extern uint32_t maxLockedDuration;
/** /**
* This is the number of events in the digital chart which would be displayed * This is the number of events in the digital chart which would be displayed
@ -114,7 +114,7 @@ static void printStatus(void) {
static void setChartActive(int value) { static void setChartActive(int value) {
engineConfiguration->isEngineChartEnabled = value; engineConfiguration->isEngineChartEnabled = value;
printStatus(); printStatus();
maxLockTime = 0; maxLockedDuration = 0;
} }
void setChartSize(int newSize) { void setChartSize(int newSize) {