Skip to content

Commit a53e273

Browse files
committed
re-add brake tolerance value (380mv)
1 parent ccea63d commit a53e273

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ETC/src/etc_controller.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +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.382f;
93-
static constexpr float BRAKE_TOLERANCE = 0.0f;
92+
static constexpr float BRAKE_TOLERANCE = 0.380f;
9493

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

0 commit comments

Comments
 (0)