From 2f8034b2ec63bfa1a7e67e64999814f547c86b49 Mon Sep 17 00:00:00 2001 From: Jafar Al-Gharaibeh Date: Tue, 30 Oct 2018 16:13:18 -0500 Subject: [PATCH] boardd: keep defined safety models in sync with panda repo (#412) This is a noop for most users, but for those of us working on new car ports where we have our own additional defines, having those defines out of sync creates merge conflicts in one place (good so we can fix it) but not the other ( not good becasue they will go unnoticed). I learned this the hardway!. Signed-off-by: Jafar Al-Gharaibeh --- selfdrive/boardd/boardd.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/selfdrive/boardd/boardd.cc b/selfdrive/boardd/boardd.cc index e037555b7b204b..aae2b665aec1bb 100644 --- a/selfdrive/boardd/boardd.cc +++ b/selfdrive/boardd/boardd.cc @@ -40,8 +40,11 @@ #define SAFETY_FORD 5 #define SAFETY_CADILLAC 6 #define SAFETY_HYUNDAI 7 +#define SAFETY_TESLA 8 +#define SAFETY_TOYOTA_IPAS 0x1335 #define SAFETY_TOYOTA_NOLIMITS 0x1336 #define SAFETY_ALLOUTPUT 0x1337 +#define SAFETY_ELM327 0xE327 namespace {