Remove commented out code. The scheduler checks previousStatus and acts accordingly, so things should work out fine.
This commit is contained in:
@@ -37,7 +37,6 @@ static void masterCallback(I2C_Type *base, i2c_master_handle_t *handle, status_t
|
||||
|
||||
status_t currentStatus = currentSlave->update(currentSlave->perDriverId);
|
||||
isTransferScheduled = currentStatus != kStatus_Uhk_IdleSlave && currentStatus != kStatus_Uhk_NoTransfer;
|
||||
//isTransferScheduled = currentStatus == kStatus_Success // Why it is not working?
|
||||
if (isTransferScheduled) {
|
||||
currentSlave->isConnected = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user