aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-01-18 08:23:36 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-01-18 08:23:36 +0000
commit5e5a9ef701d380d679810b7789d50e2416d8bbec (patch)
tree491c5547c2ea57c1973af2019191d6f521843ff7
parent12e9265ebf9a9cc8ed04f71e816ee719a29e864c (diff)
downloadChibiOS-5e5a9ef701d380d679810b7789d50e2416d8bbec.tar.gz
ChibiOS-5e5a9ef701d380d679810b7789d50e2416d8bbec.tar.bz2
ChibiOS-5e5a9ef701d380d679810b7789d50e2416d8bbec.zip
Various minor fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11303 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/ports/STM32/LLD/CANv1/hal_can_lld.h2
-rw-r--r--os/rt/templates/chconf.h13
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.