diff --git a/common/i2c.c b/common/i2c.c index 80fb2690c..ad0f8964c 100644 --- a/common/i2c.c +++ b/common/i2c.c @@ -26,7 +26,7 @@ volatile unsigned long c; -// 直接使用循环来延时,一个循环 6 条指令,48M, Delay=1 大概为 200kbps +// 鐩存帴浣跨敤寰幆鏉ュ欢鏃讹紝涓涓惊鐜 6 鏉℃寚浠わ紝48M锛 Delay=1 澶ф涓 200kbps // timer. // I2CSpinDelayClk(4) = 12.31us // I2CSpinDelayClk(1) = 3.07us @@ -467,8 +467,7 @@ int16_t I2C_BufferRead(uint8_t *data, uint8_t len, uint8_t device_cmd, uint8_t d *data = (uint8_t)tmp & 0xFF; len--; - - // 读取的第一个字节为后续长度 + // 璇诲彇鐨勭涓涓瓧鑺備负鍚庣画闀垮害 // The first byte in response is the message length if (!readcount && (len > *data)) { len = *data;