aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/can_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-29 13:15:29 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-29 13:15:29 +0000
commitdc403a00e86455bc65aabbd6c3d0fffe97b00ac4 (patch)
treeff317e8fc00accaa76bac2ab8493d4cef0dbb6f7 /os/hal/platforms/STM32/can_lld.h
parent26790f9fb067095c855498241ababa35ce17e555 (diff)
downloadChibiOS-dc403a00e86455bc65aabbd6c3d0fffe97b00ac4.tar.gz
ChibiOS-dc403a00e86455bc65aabbd6c3d0fffe97b00ac4.tar.bz2
ChibiOS-dc403a00e86455bc65aabbd6c3d0fffe97b00ac4.zip
Updated all platforms.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1480 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/can_lld.h')
-rw-r--r--os/hal/platforms/STM32/can_lld.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/os/hal/platforms/STM32/can_lld.h b/os/hal/platforms/STM32/can_lld.h
index 24f88cb80..33d4bdff7 100644
--- a/os/hal/platforms/STM32/can_lld.h
+++ b/os/hal/platforms/STM32/can_lld.h
@@ -29,6 +29,10 @@
#if CH_HAL_USE_CAN || defined(__DOXYGEN__)
+/*===========================================================================*/
+/* Driver constants. */
+/*===========================================================================*/
+
/*
* The following macros from the ST header file are replaced with better
* equivalents.
@@ -38,10 +42,6 @@
#undef CAN_BTR_TS2
#undef CAN_BTR_SJW
-/*===========================================================================*/
-/* Driver constants. */
-/*===========================================================================*/
-
/**
* @brief This switch defines whether the driver implementation supports
* a low power switch mode with automatic an wakeup feature.
@@ -49,7 +49,7 @@
#define CAN_SUPPORTS_SLEEP TRUE
/**
- * @brief Manimum number of CAN filters.
+ * @brief Minimum number of CAN filters.
*/
#if defined(STM32F10X_CL) || defined(__DOXYGEN__)
#define CAN_MAX_FILTERS 28
@@ -106,10 +106,6 @@
/* Derived constants and error checks. */
/*===========================================================================*/
-#if !CH_USE_SEMAPHORES || !CH_USE_EVENTS
-#error "the ADC driver requires CH_USE_SEMAPHORES and CH_USE_EVENTS"
-#endif
-
/*===========================================================================*/
/* Driver data structures and types. */
/*===========================================================================*/
@@ -298,6 +294,10 @@ typedef struct {
} CANDriver;
/*===========================================================================*/
+/* Driver macros. */
+/*===========================================================================*/
+
+/*===========================================================================*/
/* External declarations. */
/*===========================================================================*/