File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ int main() {
245
245
} else if (dcBusVoltage < 20000 && !checkingPrechargeStatus) {
246
246
checkingPrechargeStatus = true ;
247
247
queue.call_in (500ms, &checkPrechargeVoltage);
248
- prechargeDone = false ;
248
+ // prechargeDone = false;
249
249
250
250
}
251
251
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ class ETCController {
89
89
static constexpr float MAX_VOLTAGE = 3 .3f ;
90
90
91
91
/* * The percentage tolerance for the brake pedal to be considered pressed. */
92
- static constexpr float BRAKE_TOLERANCE = 0 .380f ;
92
+ static constexpr float BRAKE_TOLERANCE = 0 .50f ;
93
93
94
94
/* * The voltage divider slope for the hall-effect 1 sensor. */
95
95
static constexpr float HE1_SCALE = (330 .0f / 480 .0f );
You can’t perform that action at this time.
0 commit comments