mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
Extra checks for Honda Bosch Longitudinal (#662)
* only allow tester present * ensure radar is not sending messages * cleanup * add honda flags * Constrain tester present message exactly Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * little endian Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
This commit is contained in:
@@ -143,6 +143,9 @@ class Panda(object):
|
||||
CLOCK_SOURCE_MODE_FREE_RUNNING = 1
|
||||
CLOCK_SOURCE_MODE_EXTERNAL_SYNC = 2
|
||||
|
||||
FLAG_HONDA_ALT_BRAKE = 1
|
||||
FLAG_HONDA_BOSCH_LONG = 2
|
||||
|
||||
def __init__(self, serial=None, claim=True):
|
||||
self._serial = serial
|
||||
self._handle = None
|
||||
|
||||
Reference in New Issue
Block a user