diff --git a/src/can/zephyr/ThingSetZephyrCanInterface.cpp b/src/can/zephyr/ThingSetZephyrCanInterface.cpp index d7ae262..02942a3 100644 --- a/src/can/zephyr/ThingSetZephyrCanInterface.cpp +++ b/src/can/zephyr/ThingSetZephyrCanInterface.cpp @@ -207,9 +207,10 @@ bool ThingSetZephyrCanInterface::bind(uint8_t nodeAddress) } LOG_INFO("CAN device %s bound to address 0x%x", _canDevice->name, _nodeAddress); + _isBound = true; } - _isBound = true; - return true; + + return _isBound; } } // namespace ThingSet::Can::Zephyr \ No newline at end of file