aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/onewire.c
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2014-12-14 14:13:11 +0300
committerbarthess <barthess@yandex.ru>2014-12-14 14:13:11 +0300
commit97be1351afc84c9b1cef5c89f6c04013a0709cb1 (patch)
tree5e0a47b300ea8a91860a78a0f5472b3ee30bfbef /os/hal/src/onewire.c
parent6030b0a06a4ae83772b89753c41fe961772eefd4 (diff)
downloadChibiOS-Contrib-97be1351afc84c9b1cef5c89f6c04013a0709cb1.tar.gz
ChibiOS-Contrib-97be1351afc84c9b1cef5c89f6c04013a0709cb1.tar.bz2
ChibiOS-Contrib-97be1351afc84c9b1cef5c89f6c04013a0709cb1.zip
1-wire. Fixed incorrect debug check
Diffstat (limited to 'os/hal/src/onewire.c')
-rw-r--r--os/hal/src/onewire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/src/onewire.c b/os/hal/src/onewire.c
index 2a583f0..f1fb7a8 100644
--- a/os/hal/src/onewire.c
+++ b/os/hal/src/onewire.c
@@ -578,7 +578,7 @@ void onewireStart(onewireDriver *owp, const onewireConfig *config) {
osalDbgAssert(ONEWIRE_STOP == owp->reg.state, "Invalid state");
#if ONEWIRE_USE_STRONG_PULLUP
osalDbgCheck((NULL != config->pullup_assert) &&
- (NULL != config->pullup_assert));
+ (NULL != config->pullup_release));
#endif
owp->config = config;