aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/ext_lld.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-25 11:58:40 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-25 11:58:40 +0000
commitcced334724aec1f39d683adcda6984543095ba8c (patch)
treeb2b40c6c276399e2136228840985ca52145d5cac /os/hal/templates/ext_lld.c
parent9afc25656cf245314157c310847f100acb54597a (diff)
downloadChibiOS-cced334724aec1f39d683adcda6984543095ba8c.tar.gz
ChibiOS-cced334724aec1f39d683adcda6984543095ba8c.tar.bz2
ChibiOS-cced334724aec1f39d683adcda6984543095ba8c.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5318 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates/ext_lld.c')
-rw-r--r--os/hal/templates/ext_lld.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/os/hal/templates/ext_lld.c b/os/hal/templates/ext_lld.c
index e0d7575fd..e1ce295b7 100644
--- a/os/hal/templates/ext_lld.c
+++ b/os/hal/templates/ext_lld.c
@@ -39,7 +39,9 @@
/* Driver exported variables. */
/*===========================================================================*/
-/** @brief EXT1 driver identifier.*/
+/**
+ * @brief EXT1 driver identifier.
+ */
#if PLATFORM_EXT_USE_EXT1 || defined(__DOXYGEN__)
EXTDriver EXTD1;
#endif
@@ -103,7 +105,7 @@ void ext_lld_start(EXTDriver *extp) {
*/
void ext_lld_stop(EXTDriver *extp) {
- if (extp->state == EXT_READY) {
+ if (extp->state == EXT_ACTIVE) {
/* Resets the peripheral.*/
/* Disables the peripheral.*/
@@ -125,6 +127,9 @@ void ext_lld_stop(EXTDriver *extp) {
*/
void ext_lld_channel_enable(EXTDriver *extp, expchannel_t channel) {
+ (void)extp;
+ (void)channel;
+
}
/**
@@ -137,6 +142,9 @@ void ext_lld_channel_enable(EXTDriver *extp, expchannel_t channel) {
*/
void ext_lld_channel_disable(EXTDriver *extp, expchannel_t channel) {
+ (void)extp;
+ (void)channel;
+
}
#endif /* HAL_USE_EXT */