Bus::end() calls Bus::canPause(false), which will always return false because Bus::state is Bus::INIT at this point, as we haven´t called Bus::begin(...) yet.
I suggest changing
|
if (state == IDLE) |
|
return true; |
to
if ((state == IDLE) || (state == INIT))
Bus::end()callsBus::canPause(false), which will always returnfalsebecauseBus::stateisBus::INITat this point, as we haven´t calledBus::begin(...)yet.I suggest changing
software-arm-lib/sblib/src/eib/bus.cpp
Lines 157 to 158 in 4e6a918
to
if ((state == IDLE) || (state == INIT))