From 5e5a9ef701d380d679810b7789d50e2416d8bbec Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 18 Jan 2018 08:23:36 +0000 Subject: Various minor fixes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11303 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/CANv1/hal_can_lld.h | 2 +- os/rt/templates/chconf.h | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) (limited to 'os') 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 @@ -316,19 +316,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 -- cgit v1.2.3