unit test vss segfault fix (#3090)

* enable feature

* dynoview

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
This commit is contained in:
Matthew Kennedy 2021-08-01 12:05:52 -07:00 committed by GitHub
parent 85d515eafc
commit 250bd0670e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -147,6 +147,7 @@ int getDynoviewPower(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
void updateDynoView(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
if (isBrainPinValid(CONFIG(vehicleSpeedSensorInputPin)) &&
(!CONFIG(enableCanVss))) {
INJECT_ENGINE_REFERENCE(&dynoInstance);
dynoInstance.update(ICU);
}
}

View File

@ -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