This commit is contained in:
alan
2019-07-02 15:21:47 +08:00
parent 4534401280
commit 26afcee651
@@ -957,7 +957,7 @@ static uint8_t I2CrxBuf[10]; // Receive buffer
bool transferDone = false;
static void I2CCallbackFunction(I2C_Handle handle, I2C_Transaction *msg, bool transfer) {
if(transger){
if(transfer){
transferDone = true;
}
}