aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F1xx/I2C/lis3.c
diff options
context:
space:
mode:
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);