something went very wrong.
first we have functional defects that we do not write test to cover newly intdroduced defects then attempts to fix defects do not compile
This commit is contained in:
parent
0bf32a7291
commit
53179dfd22
|
@ -1,2 +1,2 @@
|
|||
|
||||
#define reconfigureSensors() {}
|
||||
void reconfigureSensors();
|
||||
|
|
|
@ -106,9 +106,11 @@ void initDataStructures(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
initSpeedDensity(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
}
|
||||
|
||||
void initSensors0();
|
||||
|
||||
static void mostCommonInitEngineController(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX) {
|
||||
#if !EFI_UNIT_TEST
|
||||
initSensors();
|
||||
initSensors0();
|
||||
#endif /* EFI_UNIT_TEST */
|
||||
|
||||
initSensors(sharedLogger PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#pragma once
|
||||
|
||||
// Call this once at startup to initialize, configure, and subscribe sensors
|
||||
void initSensors();
|
||||
void initSensors0();
|
||||
|
||||
// Call this whenever the configuration may have changed, so any sensors
|
||||
// can be reconfigured with the new settings.
|
||||
|
|
|
@ -12,7 +12,7 @@ static void initSensorCli();
|
|||
void initTps();
|
||||
void initOilPressure();
|
||||
|
||||
void initSensors() {
|
||||
void initSensors0() {
|
||||
initTps();
|
||||
initOilPressure();
|
||||
|
||||
|
|
Loading…
Reference in New Issue