mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 13:55:40 +08:00
[lpc21][i2c] silence warning
This commit is contained in:
@@ -106,6 +106,8 @@ __attribute__ ((always_inline)) static inline void I2cAutomaton(int32_t state, s
|
||||
case I2CTransTxRx:
|
||||
ClearBit(trans->slave_addr,0);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
I2cSendByte(p->reg_addr,trans->slave_addr);
|
||||
I2cClearStart(p->reg_addr);
|
||||
|
||||
Reference in New Issue
Block a user