unit test vss segfault fix (#3090)
* enable feature * dynoview Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
This commit is contained in:
parent
85d515eafc
commit
250bd0670e
|
@ -145,10 +145,11 @@ int getDynoviewPower(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
* Only updates if we have Vss from input pin.
|
||||
*/
|
||||
void updateDynoView(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||
if (isBrainPinValid(CONFIG(vehicleSpeedSensorInputPin)) &&
|
||||
(!CONFIG(enableCanVss))) {
|
||||
dynoInstance.update(ICU);
|
||||
}
|
||||
if (isBrainPinValid(CONFIG(vehicleSpeedSensorInputPin)) &&
|
||||
(!CONFIG(enableCanVss))) {
|
||||
INJECT_ENGINE_REFERENCE(&dynoInstance);
|
||||
dynoInstance.update(ICU);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
|
||||
#define EFI_EMULATE_POSITION_SENSORS TRUE
|
||||
|
||||
#define EFI_VEHICLE_SPEED TRUE
|
||||
|
||||
#define EFI_ENGINE_SNIFFER TRUE
|
||||
|
||||
#define EFI_PRINTF_FUEL_DETAILS TRUE
|
||||
|
|
Loading…
Reference in New Issue