aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/wdg_lld.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-01-04 14:09:52 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-01-04 14:09:52 +0000
commit5c2d43e6912254b2a51c01e6bb6e285d1dfc40ca (patch)
tree64bc13c4319d3cda864633657c8ffa956f561e40 /os/hal/templates/wdg_lld.h
parente3cac893e9c3062dda2a9ee00b372c1e0ea1a9ed (diff)
downloadChibiOS-5c2d43e6912254b2a51c01e6bb6e285d1dfc40ca.tar.gz
ChibiOS-5c2d43e6912254b2a51c01e6bb6e285d1dfc40ca.tar.bz2
ChibiOS-5c2d43e6912254b2a51c01e6bb6e285d1dfc40ca.zip
Fixed some template files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8686 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates/wdg_lld.h')
-rw-r--r--os/hal/templates/wdg_lld.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/os/hal/templates/wdg_lld.h b/os/hal/templates/wdg_lld.h
index d49dac8ac..d10af5add 100644
--- a/os/hal/templates/wdg_lld.h
+++ b/os/hal/templates/wdg_lld.h
@@ -41,11 +41,10 @@
*/
/**
* @brief WDG1 driver enable switch.
- * @details If set to @p TRUE the support for IWDG is included.
* @note The default is @p FALSE.
*/
-#if !defined(STM32_WDG_USE_WDG1) || defined(__DOXYGEN__)
-#define STM32_WDG_USE_WDG1 FALSE
+#if !defined(PLATFORM_WDG_USE_WDG1) || defined(__DOXYGEN__)
+#define PLATFORM_WDG_USE_WDG1 FALSE
#endif
/** @} */
@@ -92,7 +91,7 @@ struct WDGDriver {
/* External declarations. */
/*===========================================================================*/
-#if STM32_WDG_USE_IWDG && !defined(__DOXYGEN__)
+#if PLATFORM_WDG_USE_WDG1 && !defined(__DOXYGEN__)
extern WDGDriver WDGD1;
#endif