todo: huh? dead code? how can we get NAN from eventAngles table?

This commit is contained in:
rusefillc 2022-08-11 20:05:29 -04:00
parent a3e7489b3a
commit f11480597d
1 changed files with 1 additions and 0 deletions

View File

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