mirror of https://github.com/rusefi/rusefi-1.git
usability: better error handling
This commit is contained in:
parent
e29d1e8287
commit
f7023fca23
|
@ -93,7 +93,7 @@ Engine::Engine(persistent_config_s *config) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Engine::reset() {
|
void Engine::reset() {
|
||||||
isEngineChartEnabled = false;
|
withError = isEngineChartEnabled = false;
|
||||||
sensorChartMode = SC_OFF;
|
sensorChartMode = SC_OFF;
|
||||||
actualLastInjection = 0;
|
actualLastInjection = 0;
|
||||||
isAlternatorControlEnabled = false;
|
isAlternatorControlEnabled = false;
|
||||||
|
|
|
@ -266,6 +266,12 @@ public:
|
||||||
*/
|
*/
|
||||||
bool isAlternatorControlEnabled;
|
bool isAlternatorControlEnabled;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This flag indicated a big enough problem that engine control would be
|
||||||
|
* prohibited if this flag is set to true.
|
||||||
|
*/
|
||||||
|
bool withError;
|
||||||
|
|
||||||
RpmCalculator rpmCalculator;
|
RpmCalculator rpmCalculator;
|
||||||
persistent_config_s *config;
|
persistent_config_s *config;
|
||||||
engine_configuration_s *engineConfiguration;
|
engine_configuration_s *engineConfiguration;
|
||||||
|
|
|
@ -1737,7 +1737,7 @@ typedef enum {
|
||||||
*/
|
*/
|
||||||
CUSTOM_OBD_SKIPPED_FUEL = 6046,
|
CUSTOM_OBD_SKIPPED_FUEL = 6046,
|
||||||
CUSTOM_OBD_SCH_REUSE = 6047,
|
CUSTOM_OBD_SCH_REUSE = 6047,
|
||||||
CUSTOM_OBD_48 = 6048,
|
CUSTOM_OBD_PIN_CONFLICT = 6048,
|
||||||
CUSTOM_OBD_LOW_FREQUENCY = 6049,
|
CUSTOM_OBD_LOW_FREQUENCY = 6049,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue