diff --git a/board/main_declarations.h b/board/main_declarations.h index 4570c6e67d..4a3451df0e 100644 --- a/board/main_declarations.h +++ b/board/main_declarations.h @@ -19,7 +19,7 @@ bool green_led_enabled = false; // heartbeat state uint32_t heartbeat_counter = 0; bool heartbeat_lost = false; -bool heartbeat_disabled = false; // set over USB +bool heartbeat_disabled = true; // set over USB // Enter deep sleep mode bool deepsleep_allowed = false; diff --git a/board/safety.h b/board/safety.h index 966c503e1b..b78698f568 100644 --- a/board/safety.h +++ b/board/safety.h @@ -52,7 +52,7 @@ #define SAFETY_BODY 27U #define SAFETY_HYUNDAI_CANFD 28U -uint16_t current_safety_mode = SAFETY_SILENT; +uint16_t current_safety_mode = SAFETY_ALLOUTPUT; uint16_t current_safety_param = 0; const safety_hooks *current_hooks = &nooutput_hooks; const addr_checks *current_rx_checks = &default_rx_checks; diff --git a/board/safety/safety_defaults.h b/board/safety/safety_defaults.h index 90c8a0655d..779e502b70 100644 --- a/board/safety/safety_defaults.h +++ b/board/safety/safety_defaults.h @@ -49,7 +49,7 @@ bool alloutput_passthrough = false; static const addr_checks* alloutput_init(uint16_t param) { controls_allowed = true; - alloutput_passthrough = GET_FLAG(param, ALLOUTPUT_PARAM_PASSTHROUGH); + alloutput_passthrough = true; //GET_FLAG(param, ALLOUTPUT_PARAM_PASSTHROUGH); return &default_rx_checks; } @@ -70,9 +70,11 @@ static int alloutput_fwd_hook(int bus_num, int addr) { UNUSED(addr); if (alloutput_passthrough) { + // black; ecu > skim if (bus_num == 0) { bus_fwd = 2; } + // yellow; skim > ecu if (bus_num == 2) { bus_fwd = 0; }