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-d51de3d6d3f4
master
barthess 2011-06-23 18:31:24 +00:00
parent 10153a4f30
commit 2f77482083
2 changed files with 2 additions and 1 deletions

View File

@ -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.*/
};

View File

@ -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. **********************************/
/**