mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 01:33:52 +08:00
Panda safety code for Volkswagen, Audi, SEAT, and Škoda (#293)
* Panda safety code for Volkswagen, Audi, SEAT, and Škoda. * First pass at MISRA compliance. * Second pass at MISRA compliance. * Fix scope of violation boolean. * MISRA doesn't care for implicit cast of unsigned int to boolean. * Remove superfluous newline. * Remove unused VW ignition hook code, preserve commentary. * Add 50% padding to max delta check. * Add 50% padding to max delta check. * Add clarity around the origin of our safety constants. * Update test RT delta to match safety.
This commit is contained in:
@@ -124,6 +124,7 @@ class Panda(object):
|
||||
SAFETY_SUBARU = 11
|
||||
SAFETY_GM_PASSIVE = 12
|
||||
SAFETY_MAZDA = 13
|
||||
SAFETY_VOLKSWAGEN = 15
|
||||
SAFETY_TOYOTA_IPAS = 16
|
||||
SAFETY_ALLOUTPUT = 17
|
||||
SAFETY_GM_ASCM = 18
|
||||
|
||||
Reference in New Issue
Block a user