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

View File

@ -44,7 +44,7 @@ static histogram_s engineSnifferHisto;
EXTERN_ENGINE
;
extern uint32_t maxLockTime;
extern uint32_t maxLockedDuration;
/**
* 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) {
engineConfiguration->isEngineChartEnabled = value;
printStatus();
maxLockTime = 0;
maxLockedDuration = 0;
}
void setChartSize(int newSize) {