fix incorrect comments

boards/arm/cxd56xx/drivers/sensors/bmi160_scu.c: fix incorrect comments to the Right of Statements.
drivers/sensors/ak09912.c: fix incorrect function description ak09912_putreg8 and ak09912_getreg8
This commit is contained in:
simbit18 2023-08-01 15:32:25 +02:00 committed by David Sidrane
parent 2e3c144f44
commit 1b8714f79f
2 changed files with 4 additions and 4 deletions

View File

@ -231,8 +231,8 @@ struct bmi160_dev_s
{ {
#ifdef CONFIG_SENSORS_BMI160_SCU_I2C #ifdef CONFIG_SENSORS_BMI160_SCU_I2C
struct i2c_master_s *i2c; /* I2C interface */ struct i2c_master_s *i2c; /* I2C interface */
uint8_t addr; /* BMP280 I2C address */ uint8_t addr; /* BMI160 I2C address */
int freq; /* BMP280 Frequency <= 3.4MHz */ int freq; /* BMI160 Frequency <= 3.4MHz */
int port; /* I2C port */ int port; /* I2C port */
struct seq_s *seq; /* Sequencer */ struct seq_s *seq; /* Sequencer */
int fifoid; /* Sequencer id */ int fifoid; /* Sequencer id */

View File

@ -190,7 +190,7 @@ static const struct file_operations g_ak09912fops =
* Name: ak09912_getreg8 * Name: ak09912_getreg8
* *
* Description: * Description:
* Read from an 8-bit BMP280 register * Read from an 8-bit ak09912 register
* *
****************************************************************************/ ****************************************************************************/
@ -227,7 +227,7 @@ static uint8_t ak09912_getreg8(FAR struct ak09912_dev_s *priv,
* Name: ak09912_putreg8 * Name: ak09912_putreg8
* *
* Description: * Description:
* Write to an 8-bit BMP280 register * Write to an 8-bit ak09912 register
* *
****************************************************************************/ ****************************************************************************/