aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-23 19:08:49 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-23 19:08:49 +0000
commit429c031bcb61267a0f20969c5a66eceeefbbb68b (patch)
tree2549e51a1e24530399bd3f2ab4495d5d9e35790d
parentb1d043cede9e37dccff9731978887f51a514c387 (diff)
downloadChibiOS-429c031bcb61267a0f20969c5a66eceeefbbb68b.tar.gz
ChibiOS-429c031bcb61267a0f20969c5a66eceeefbbb68b.tar.bz2
ChibiOS-429c031bcb61267a0f20969c5a66eceeefbbb68b.zip
I2C. Examples fixed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3075 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--testhal/STM32/I2C/lis3.c1
-rw-r--r--testhal/STM32/I2C/max1236.c1
-rw-r--r--testhal/STM32/I2C/tmp75.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/testhal/STM32/I2C/lis3.c b/testhal/STM32/I2C/lis3.c
index 68d5a5403..9ce1532a6 100644
--- a/testhal/STM32/I2C/lis3.c
+++ b/testhal/STM32/I2C/lis3.c
@@ -79,7 +79,6 @@ static const I2CSlaveConfig lis3 = {
i2c_lis3_error_cb,
accel_rx_data,
accel_tx_data,
- NULL,
};
diff --git a/testhal/STM32/I2C/max1236.c b/testhal/STM32/I2C/max1236.c
index 636f04f74..7ea184b14 100644
--- a/testhal/STM32/I2C/max1236.c
+++ b/testhal/STM32/I2C/max1236.c
@@ -44,7 +44,6 @@ static const I2CSlaveConfig max1236 = {
i2c_max1236_error_cb,
max1236_rx_data,
max1236_tx_data,
- NULL,
};
#define max1236_addr 0b0110100
diff --git a/testhal/STM32/I2C/tmp75.c b/testhal/STM32/I2C/tmp75.c
index 66449ad6e..6a8fe603d 100644
--- a/testhal/STM32/I2C/tmp75.c
+++ b/testhal/STM32/I2C/tmp75.c
@@ -39,7 +39,6 @@ static const I2CSlaveConfig tmp75 = {
i2c_tmp75_error_cb,
tmp75_rx_data,
tmp75_tx_data,
- NULL,
};
#define tmp75_addr 0b1001000