mirror of https://github.com/FOME-Tech/fome-fw.git
todo: huh? dead code? how can we get NAN from eventAngles table?
This commit is contained in:
parent
a3e7489b3a
commit
f11480597d
|
@ -255,6 +255,7 @@ float PrimaryTriggerDecoder::calculateInstantRpm(
|
|||
// Determine where we currently are in the revolution
|
||||
angle_t currentAngle = triggerFormDetails->eventAngles[current_index];
|
||||
if (cisnan(currentAngle)) {
|
||||
// todo: huh? dead code? how can we get NAN from eventAngles table?
|
||||
return NOISY_RPM;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue