Skip to content

Commit

Permalink
Correct method name error
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Dec 2, 2024
1 parent e86ea70 commit 5a23c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/safety/test_toyota.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ def test_lta_2_steer_cmd(self):
should_tx = not req and not req2 and angle == 0
self.assertEqual(should_tx, self._tx(self._lta_2_msg(req, req2, angle)), f"{req=} {req2=} {angle=}")

def _accel_2_msg(self, accel, cancel_req=0):
def _accel_msg_2(self, accel, cancel_req=0):
values = {"ACCEL_CMD": accel}
return self.packer.make_can_msg_panda("ACC_CONTROL_2", 0, values)

Expand Down

0 comments on commit 5a23c1a

Please sign in to comment.