1-wire. Fixed incorrect debug check

This commit is contained in:
barthess 2014-12-14 14:13:11 +03:00
parent 6030b0a06a
commit 97be1351af
1 changed files with 1 additions and 1 deletions

View File

@ -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;