aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F1xx/I2C/lis3.c
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-31 09:17:08 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-12-31 09:17:08 +0000
commitb58117763064615d8d480f3c847ea3d41fe49b81 (patch)
treed8030775caaac90bdf26095a89f056b6a1d8dd51 /testhal/STM32F1xx/I2C/lis3.c
parent2234fd3e31d4ce6e2b3990340b52719951e65731 (diff)
downloadChibiOS-b58117763064615d8d480f3c847ea3d41fe49b81.tar.gz
ChibiOS-b58117763064615d8d480f3c847ea3d41fe49b81.tar.bz2
ChibiOS-b58117763064615d8d480f3c847ea3d41fe49b81.zip
I2C. Testhal comment cleaned.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3693 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F1xx/I2C/lis3.c')
-rw-r--r--testhal/STM32F1xx/I2C/lis3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/STM32F1xx/I2C/lis3.c b/testhal/STM32F1xx/I2C/lis3.c
index 6f697f8f7..17b1456ec 100644
--- a/testhal/STM32F1xx/I2C/lis3.c
+++ b/testhal/STM32F1xx/I2C/lis3.c
@@ -68,7 +68,7 @@ int init_lis3(void){
*
*/
void request_acceleration_data(void){
- accel_tx_data[0] = ACCEL_OUT_DATA | AUTO_INCREMENT_BIT; // register address
+ accel_tx_data[0] = ACCEL_OUT_DATA | AUTO_INCREMENT_BIT; /* register address */
i2cAcquireBus(&I2CD1);
i2cMasterTransmit(&I2CD1, lis3_addr, accel_tx_data, 1, accel_rx_data, 6, &errors, TIME_INFINITE);
i2cReleaseBus(&I2CD1);