Rev 137 | Rev 146 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 137 | Rev 141 | ||
---|---|---|---|
Line 378... | Line 378... | ||
378 | { // copy primary rx buffer content to rx buffer if exist |
378 | { // copy primary rx buffer content to rx buffer if exist |
379 | if(I2C_RxBuffer != NULL) |
379 | if(I2C_RxBuffer != NULL) |
380 | { |
380 | { |
381 | memcpy((u8 *)I2C_RxBuffer, (u8 *)I2C_PrimRxBuffer, I2C_RxBufferSize); |
381 | memcpy((u8 *)I2C_RxBuffer, (u8 *)I2C_PrimRxBuffer, I2C_RxBufferSize); |
382 | } |
382 | } |
- | 383 | I2C1_Timeout = SetDelay(500); |
|
383 | DebugOut.Analog[15]++; |
384 | DebugOut.Analog[15]++; |
384 | CheckI2COkay++; |
385 | CheckI2COkay++; |
385 | } |
386 | } |
386 | else // checksum error detected |
387 | else // checksum error detected |
387 | { |
388 | { |