From 96bf25d2de1c3d57e77f7769f6b3f423ed1d0d04 Mon Sep 17 00:00:00 2001 From: barthess Date: Sat, 6 Dec 2014 21:29:08 +0300 Subject: 1-wire. Search ROM feature now optional --- testhal/STM32/STM32F4xx/onewire/halconf_community.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'testhal/STM32/STM32F4xx') 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_ */ /** @} */ -- cgit v1.2.3