Files
firestar5683 cf21c9729f Honda
Integrate Honda steering and AOL adapters with platform-specific native safety coverage.

Co-authored-by: Daniel Koepping <elkoled@gmail.com>
Co-authored-by: Danny <dannyirwin31@yahoo.com>
Co-authored-by: dirwin31 <83434411+dirwin31@users.noreply.github.com>
2026-10-14 20:02:39 -05:00

16 lines
496 B
Python

def event_rules(cp) -> dict:
if cp.brand == "gm":
from openpilot.starpilot.car.gm.events import event_rules as gm_rules
return gm_rules(cp)
if cp.brand == "honda":
from openpilot.starpilot.car.honda.events import event_rules as honda_rules
return honda_rules(cp)
return {}
def unsupported_gear(cp, gear) -> bool:
if cp.brand == "gm":
from openpilot.starpilot.car.gm.events import unsupported_gear as gm_unsupported
return gm_unsupported(cp, gear)
return False