small bugfix for LIS3 handler

This commit is contained in:
Robin Müller 2021-10-11 19:37:23 +02:00
parent f8e9042943
commit c46bde417e
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -73,7 +73,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;