We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a67c7b commit 8e4dc01Copy full SHA for 8e4dc01
src/fastcat_devices/faulter.cc
@@ -48,7 +48,7 @@ bool fastcat::Faulter::Read()
48
ERROR("Could not extract signal");
49
return false;
50
}
51
- state_->faulter_state.fault_active = (signals_[0].value > 0);
+ state_->faulter_state.fault_active = (fabs(signals_[0].value) > 0);
52
53
return true;
54
0 commit comments