cleanup, some error handling

This commit is contained in:
2024-07-04 20:01:30 +02:00
parent b86d165c41
commit 79f69333a5
4 changed files with 15 additions and 11 deletions

View File

@ -8,7 +8,7 @@
//#define CAN_ID_IN 0x501
//#define CAN_ID_OUT 0x502
int can_delay_manager = 0;
static uint32_t can_delay_manager = 0;
void can_init(CAN_HandleTypeDef* hcan) {
ftcan_init(hcan);
ftcan_add_filter(CAN_ID_IN, 0xFFF);