Show ASB Error by default
This commit is contained in:
parent
75b8039e96
commit
e6f77a5e29
|
@ -211,6 +211,9 @@ int main(void)
|
||||||
// Ensure we start with SDC disabled
|
// Ensure we start with SDC disabled
|
||||||
HAL_GPIO_WritePin(AS_close_SDC_GPIO_Port, AS_close_SDC_Pin, GPIO_PIN_RESET);
|
HAL_GPIO_WritePin(AS_close_SDC_GPIO_Port, AS_close_SDC_Pin, GPIO_PIN_RESET);
|
||||||
|
|
||||||
|
// Show ASB Error by default until we receive CAN
|
||||||
|
HAL_GPIO_WritePin(ASB_Error_GPIO_Port, ASB_Error_Pin, GPIO_PIN_SET);
|
||||||
|
|
||||||
if (HAL_CAN_Start(&hcan) != HAL_OK)
|
if (HAL_CAN_Start(&hcan) != HAL_OK)
|
||||||
Error_Handler();
|
Error_Handler();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue