I2C. "Sevent" field moved from I2CSlaveConfig to I2CDriver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3072 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
10153a4f30
commit
2f77482083
|
@ -146,7 +146,6 @@ struct I2CSlaveConfig{
|
|||
i2cblock_t *rxbuf; /*!< Pointer to receive buffer. */
|
||||
i2cblock_t *txbuf; /*!< Pointer to transmit buffer.*/
|
||||
|
||||
EventSource *sevent; /*!< Status Change @p EventSource.*/
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -175,6 +175,8 @@ struct I2CDriver{
|
|||
uint8_t slave_addr1;/*!< 7-bit address of the slave with r\w bit.*/
|
||||
uint8_t slave_addr2;/*!< Used in 10-bit address mode. */
|
||||
|
||||
EventSource sevent; /*!< Status Change @p EventSource.*/
|
||||
|
||||
/*********** End of the mandatory fields. **********************************/
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue