Skip to content

Commit ed6f742

Browse files
committed
6/16 tweaks
1 parent 78a8289 commit ed6f742

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BMS/src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ int main() {
245245
} else if (dcBusVoltage < 20000 && !checkingPrechargeStatus) {
246246
checkingPrechargeStatus = true;
247247
queue.call_in(500ms, &checkPrechargeVoltage);
248-
prechargeDone = false;
248+
// prechargeDone = false;
249249

250250
}
251251

ETC/src/etc_controller.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class ETCController {
8989
static constexpr float MAX_VOLTAGE = 3.3f;
9090

9191
/** 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;
9393

9494
/** The voltage divider slope for the hall-effect 1 sensor. */
9595
static constexpr float HE1_SCALE = (330.0f / 480.0f);

0 commit comments

Comments
 (0)