MgmLIS3MDLHandler fix in buildTransitionDeviceCommand

This commit is contained in:
Jakob Meier 2021-09-24 15:33:55 +02:00
parent dd610f0d7e
commit 10f8a0fd0e

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;