Merge pull request 'MgmLIS3MDLHandler fix in buildTransitionDeviceCommand' (#18) from meier/fixMgmLIS3MDLHandler into eive/develop

Reviewed-on: #18
This commit is contained in:
Robin Müller 2021-09-25 16:37:10 +02:00
commit dabb488c9d

View File

@ -71,7 +71,7 @@ ReturnValue_t MgmLIS3MDLHandler::buildTransitionDeviceCommand(
switch (internalState) {
case(InternalState::STATE_NONE):
case(InternalState::STATE_NORMAL): {
return HasReturnvaluesIF::RETURN_OK;
return DeviceHandlerBase::NOTHING_TO_SEND;
}
case(InternalState::STATE_FIRST_CONTACT): {
*id = MGMLIS3MDL::IDENTIFY_DEVICE;