I2C. Small improvemets
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3069 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
24987e2873
commit
3f2e823d2a
|
@ -147,7 +147,7 @@ struct I2CSlaveConfig{
|
|||
i2cblock_t *txbuf; /*!< Pointer to transmit buffer.*/
|
||||
|
||||
/* Status Change @p EventSource.*/
|
||||
EventSource sevent;
|
||||
EventSource *sevent;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ static const I2CSlaveConfig lis3 = {
|
|||
i2c_lis3_error_cb,
|
||||
accel_rx_data,
|
||||
accel_tx_data,
|
||||
{NULL},
|
||||
NULL,
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ static const I2CSlaveConfig max1236 = {
|
|||
i2c_max1236_error_cb,
|
||||
max1236_rx_data,
|
||||
max1236_tx_data,
|
||||
{NULL},
|
||||
NULL,
|
||||
};
|
||||
|
||||
#define max1236_addr 0b0110100
|
||||
|
|
|
@ -39,7 +39,7 @@ static const I2CSlaveConfig tmp75 = {
|
|||
i2c_tmp75_error_cb,
|
||||
tmp75_rx_data,
|
||||
tmp75_tx_data,
|
||||
{NULL},
|
||||
NULL,
|
||||
};
|
||||
|
||||
#define tmp75_addr 0b1001000
|
||||
|
|
Loading…
Reference in New Issue