Fix: Actually applying the configs for the CAN Filter

This commit is contained in:
CarlWachter 2024-04-30 15:25:06 +02:00
parent 78479d528c
commit 61b738e2fc

View File

@ -166,6 +166,7 @@ namespace sta
config->FilterScale = CAN_FILTERSCALE_32BIT; config->FilterScale = CAN_FILTERSCALE_32BIT;
config->FilterActivation = CAN_FILTER_DISABLE; config->FilterActivation = CAN_FILTER_DISABLE;
config->SlaveStartFilterBank = MAX_FILTER_COUNT; config->SlaveStartFilterBank = MAX_FILTER_COUNT;
HAL_CAN_ConfigFilter(handle_, config);
} }
} }