assertion "emulator RPM out of range"
This commit is contained in:
parent
4fd1d01a44
commit
c079bf7478
|
@ -95,6 +95,8 @@ static float getRpmMultiplier(operation_mode_e mode) {
|
|||
}
|
||||
|
||||
void setTriggerEmulatorRPM(int rpm) {
|
||||
criticalAssertVoid(rpm >= 0 && rpm <= 30000, "emulator RPM out of range");
|
||||
|
||||
engineConfiguration->triggerSimulatorRpm = rpm;
|
||||
/**
|
||||
* All we need to do here is to change the periodMs
|
||||
|
|
Loading…
Reference in New Issue