fix a bug

This commit is contained in:
Bigbits
2019-05-08 20:21:13 +08:00
parent 483981d747
commit 6d6add4a05

View File

@@ -273,7 +273,7 @@ TwoWire::requestFrom(uint16_t address, uint8_t size, bool sendStop) //请求数
size--;
}
}
return state;
return i2c_rx_buff->available();
}
size_t