1-wire. Fixed incorrect debug check
This commit is contained in:
parent
6030b0a06a
commit
97be1351af
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue