guard to help kinetis
This commit is contained in:
parent
2b6fd2315c
commit
6656c2ae88
|
@ -66,8 +66,10 @@ 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:
|
||||
return engine->module<GearDetector>()->getCurrentGear();
|
||||
#endif // EFI_VEHICLE_SPEED
|
||||
}
|
||||
|
||||
return unexpected;
|
||||
|
|
Loading…
Reference in New Issue