kinetis help

This commit is contained in:
rusefillc 2023-04-30 10:18:24 -04:00
parent a2eef06a7e
commit 67883f228f
1 changed files with 3 additions and 1 deletions

View File

@ -66,9 +66,11 @@ expected<float> readGppwmChannel(gppwm_channel_e channel) {
return (float)engine->outputChannels.gppwmOutput[2];
case GPPWM_GppwmOutput4:
return (float)engine->outputChannels.gppwmOutput[3];
#if EFI_VEHICLE_SPEED
case GPPWM_DetectedGear:
#if EFI_VEHICLE_SPEED
return engine->module<GearDetector>()->getCurrentGear();
#else
return 0;
#endif // EFI_VEHICLE_SPEED
}