consistency
This commit is contained in:
parent
fc3827a3c2
commit
1ed2711c02
|
@ -305,7 +305,7 @@ void setCanType(int type) {
|
|||
canInfo();
|
||||
}
|
||||
|
||||
#if defined(EFI_TUNER_STUDIO)
|
||||
#if EFI_TUNER_STUDIO
|
||||
void postCanState(TunerStudioOutputChannels *tsOutputChannels) {
|
||||
tsOutputChannels->debugIntField1 = isCanEnabled ? canReadCounter : -1;
|
||||
tsOutputChannels->debugIntField2 = isCanEnabled ? canWriteOk : -1;
|
||||
|
|
|
@ -47,7 +47,7 @@ void setTxBit(int offset, int index);
|
|||
void stopCanPins(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||
void startCanPins(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||
void enableFrankensoCan(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||
#if defined(EFI_TUNER_STUDIO)
|
||||
#if EFI_TUNER_STUDIO
|
||||
void postCanState(TunerStudioOutputChannels *tsOutputChannels);
|
||||
#endif /* EFI_TUNER_STUDIO */
|
||||
#endif /* EFI_CAN_SUPPORT */
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "global.h"
|
||||
#include "functional_sensor.h"
|
||||
#include "linear_func.h"
|
||||
#if defined(EFI_TUNER_STUDIO)
|
||||
#if EFI_TUNER_STUDIO
|
||||
#include "tunerstudio_configuration.h"
|
||||
#endif
|
||||
|
||||
|
@ -33,7 +33,7 @@ void initOilPressure() {
|
|||
oilpSensorFunc.configure(sensorCfg->v1, val1, sensorCfg->v2, val2, /*minOutput*/ -5, greaterOutput);
|
||||
oilpSensor.setFunction(oilpSensorFunc);
|
||||
|
||||
#if defined(EFI_TUNER_STUDIO)
|
||||
#if EFI_TUNER_STUDIO
|
||||
// Tell it to report to its output channel
|
||||
oilpSensor.setReportingLocation(&tsOutputChannels.oilPressure);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue