diff --git a/MAX/Libraries/PeriphDrivers/Source/I2C/i2c_reva.c b/MAX/Libraries/PeriphDrivers/Source/I2C/i2c_reva.c index c28aa3b..c2c2e17 100644 --- a/MAX/Libraries/PeriphDrivers/Source/I2C/i2c_reva.c +++ b/MAX/Libraries/PeriphDrivers/Source/I2C/i2c_reva.c @@ -994,7 +994,7 @@ int MXC_I2C_RevA_MasterTransaction(mxc_i2c_reva_req_t *req) } else { i2c->mstctrl |= MXC_F_I2C_REVA_MSTCTRL_STOP; - while (!(i2c->mstctrl & MXC_F_I2C_REVA_MSTCTRL_STOP)) {} + while ((i2c->mstctrl & MXC_F_I2C_REVA_MSTCTRL_STOP)) {} // Wait for Transaction to finish } diff --git a/MAX/msdk_sha b/MAX/msdk_sha index 28094fa..a95b27c 100644 --- a/MAX/msdk_sha +++ b/MAX/msdk_sha @@ -1 +1 @@ -d63fdfa43a279f7187e4e957568a51291b2c954b +da894c7a86ea50cd73fb1a0ba2f7b65ebfa44e6c