aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/ports/STM32/LLD/CANv1/hal_can_lld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.h b/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.h
index a26377f24..689fa0c16 100644
--- a/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.h
+++ b/os/hal/ports/STM32/LLD/CANv1/hal_can_lld.h
@@ -275,7 +275,7 @@ typedef struct {
/**
* @brief Number of the filter to be programmed.
*/
- uint32_t filter;
+ uint32_t filter:16;
/**
* @brief Filter mode.
* @note This bit represent the CAN_FM1R register bit associated to this