fix for updated bitutil

This commit is contained in:
Robin Müller 2021-11-10 18:43:45 +01:00
parent 9a38106b57
commit c16bd23eee
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -186,7 +186,7 @@ ReturnValue_t MgmRM3100Handler::interpretDeviceReply(DeviceCommandId_t id, const
uint8_t cmmValue = packet[1];
// We clear the seventh bit in any case
// because this one is zero sometimes for some reason
bitutil::bitClear(&cmmValue, 6);
bitutil::clear(&cmmValue, 6);
if(cmmValue == cmmRegValue and internalState == InternalState::READ_CMM) {
commandExecuted = true;
}