diff options
-rw-r--r-- | os/hal/ports/STM32/LLD/CANv1/hal_can_lld.h | 2 | ||||
-rw-r--r-- | os/rt/templates/chconf.h | 13 |
2 files changed, 1 insertions, 14 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
diff --git a/os/rt/templates/chconf.h b/os/rt/templates/chconf.h index 7a5f367e1..a2e8b5632 100644 --- a/os/rt/templates/chconf.h +++ b/os/rt/templates/chconf.h @@ -317,19 +317,6 @@ #define CH_CFG_USE_OBJ_FIFOS TRUE
/**
- * @name Objects factory settings.
- * @{
- */
-#define CH_CFG_USE_FACTORY TRUE
-#define CH_CFG_FACTORY_MAX_NAMES_LENGTH 8
-#define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE
-#define CH_CFG_FACTORY_GENERIC_BUFFERS TRUE
-#define CH_CFG_FACTORY_SEMAPHORES TRUE
-#define CH_CFG_FACTORY_MAILBOXES TRUE
-#define CH_CFG_FACTORY_OBJ_FIFOS TRUE
-/** @} */
-
-/**
* @brief Dynamic Threads APIs.
* @details If enabled then the dynamic threads creation APIs are included
* in the kernel.
|