diff options
author | barthess <barthess@yandex.ru> | 2014-12-06 21:29:08 +0300 |
---|---|---|
committer | barthess <barthess@yandex.ru> | 2014-12-06 21:29:08 +0300 |
commit | 96bf25d2de1c3d57e77f7769f6b3f423ed1d0d04 (patch) | |
tree | 1880400d9fe901064713a854813a3a2399ba580f /testhal | |
parent | 61263b2e91298f8b2236c6aac21dae2f7186e576 (diff) | |
download | ChibiOS-Contrib-96bf25d2de1c3d57e77f7769f6b3f423ed1d0d04.tar.gz ChibiOS-Contrib-96bf25d2de1c3d57e77f7769f6b3f423ed1d0d04.tar.bz2 ChibiOS-Contrib-96bf25d2de1c3d57e77f7769f6b3f423ed1d0d04.zip |
1-wire. Search ROM feature now optional
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/STM32/STM32F4xx/onewire/halconf_community.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/testhal/STM32/STM32F4xx/onewire/halconf_community.h b/testhal/STM32/STM32F4xx/onewire/halconf_community.h index e5ac5e9..7f64b2b 100644 --- a/testhal/STM32/STM32F4xx/onewire/halconf_community.h +++ b/testhal/STM32/STM32F4xx/onewire/halconf_community.h @@ -61,13 +61,18 @@ /*===========================================================================*/
/* 1-wire driver related settings. */
/*===========================================================================*/
-
/**
- * @brief Enables strong pull up support.
+ * @brief Enables strong pull up feature.
* @note Disabling this option saves both code and data space.
*/
#define ONEWIRE_USE_STRONG_PULLUP FALSE
+/**
+ * @brief Enables search ROM feature.
+ * @note Disabling this option saves both code and data space.
+ */
+#define ONEWIRE_USE_SEARCH_ROM TRUE
+
#endif /* _HALCONF_COMMUNITY_H_ */
/** @} */
|