From 429c031bcb61267a0f20969c5a66eceeefbbb68b Mon Sep 17 00:00:00 2001 From: barthess Date: Thu, 23 Jun 2011 19:08:49 +0000 Subject: [PATCH] I2C. Examples fixed. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3075 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/I2C/lis3.c | 1 - testhal/STM32/I2C/max1236.c | 1 - testhal/STM32/I2C/tmp75.c | 1 - 3 files changed, 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