From 97be1351afc84c9b1cef5c89f6c04013a0709cb1 Mon Sep 17 00:00:00 2001 From: barthess Date: Sun, 14 Dec 2014 14:13:11 +0300 Subject: [PATCH] 1-wire. Fixed incorrect debug check --- os/hal/src/onewire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/hal/src/onewire.c b/os/hal/src/onewire.c index 2a583f0f..f1fb7a8f 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;