We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca0b6be commit cd1dba9Copy full SHA for cd1dba9
tests/safety/test_cadillac.py
@@ -43,7 +43,7 @@ def _torque_driver_msg(self, torque):
43
to_send[0].RIR = 0x164 << 21
44
45
t = twos_comp(torque, 11)
46
- to_send[0].RDLR = ((t >> 8) & 0x3) | ((t & 0xFF) << 8)
+ to_send[0].RDLR = ((t >> 8) & 0x7) | ((t & 0xFF) << 8)
47
return to_send
48
49
def _torque_driver_msg_array(self, torque):
0 commit comments