diff --git a/panda b/panda index d7f1195d1e..dad5858b8c 160000 --- a/panda +++ b/panda @@ -1 +1 @@ -Subproject commit d7f1195d1eef4ca3f90c17e61f07d95a566f3107 +Subproject commit dad5858b8cfdb26962b22dd133b0ff4643eace5f diff --git a/selfdrive/car/chrysler/interface.py b/selfdrive/car/chrysler/interface.py index c986c9128f..333b71ec10 100755 --- a/selfdrive/car/chrysler/interface.py +++ b/selfdrive/car/chrysler/interface.py @@ -79,7 +79,8 @@ class CarInterface(CarInterfaceBase): # disable on gas pedal and speed isn't zero. Gas pedal is used to resume ACC # from a 3+ second stop. - if (ret.gasPressed and (not self.gas_pressed_prev) and ret.vEgo > 2.0): + if (ret.gasPressed and (not self.gas_pressed_prev) and ret.vEgo > 2.0) or \ + (ret.brakePressed and (not self.brake_pressed_prev or not ret.standstill)): events.append(create_event('pedalPressed', [ET.NO_ENTRY, ET.USER_DISABLE])) if ret.vEgo < self.CP.minSteerSpeed: diff --git a/selfdrive/test/process_replay/ref_commit b/selfdrive/test/process_replay/ref_commit index 81191df4b9..97cea33201 100644 --- a/selfdrive/test/process_replay/ref_commit +++ b/selfdrive/test/process_replay/ref_commit @@ -1 +1 @@ -0d18f87c308ce685f1010b81b65c62780f2c0c35 \ No newline at end of file +3a4caf91334a4a8febb56fc195813313e53c9f44 \ No newline at end of file