incubator-nuttx/drivers/sensors
zhangshoukui a7f7afe019 bmi160: fix Parameter passing error when use spi
nuttx/drivers/sensors/bmi160_uorb.c:596:18: warning: passing argument 1 of ‘bmi160_getreg8’ from incompatible pointer type [-Wincompatible-pointer-types]
  596 |   bmi160_getreg8(priv, 0x7f);
      |                  ^~~~
      |                  |
      |                  struct bmi160_dev_uorb_s *
In file included from nuttx/drivers/sensors/bmi160_uorb.c:25:
nuttx/drivers/sensors/bmi160_base.h:235:49: note: expected ‘struct bmi160_dev_s *’ but argument is of type ‘struct bmi160_dev_uorb_s *’
  235 | uint8_t bmi160_getreg8(FAR struct bmi160_dev_s *priv, uint8_t regaddr);
      |                            ~~~~~~~~~~~~~~~~~~~~~^~~~
nuttx/drivers/sensors/bmi160_uorb.c:597:18: warning: passing argument 1 of ‘bmi160_getreg8’ from incompatible pointer type [-Wincompatible-pointer-types]
  597 |   bmi160_getreg8(priv, 0x7f); /* workaround: fail to switch SPI, run twice */
      |                  ^~~~
      |                  |
      |                  struct bmi160_dev_uorb_s *

Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2024-10-18 19:58:22 +08:00
..
CMakeLists.txt nuttx/uorb: Rename GPS to GNSS 2024-09-19 03:44:49 +08:00
Kconfig nuttx/uorb: Rename GPS to GNSS 2024-09-19 03:44:49 +08:00
Make.defs nuttx/uorb: Rename GPS to GNSS 2024-09-19 03:44:49 +08:00
adt7320.c
adt7320.h
adxl345.h
adxl345_base.c
adxl345_i2c.c
adxl345_spi.c
adxl362_uorb.c nuttx/uorb: Fix incompatible type error 2024-09-19 19:54:38 +08:00
adxl372.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
adxl372_uorb.c nuttx/uorb: Fix incompatible type error 2024-09-19 19:54:38 +08:00
aht10.c
ak09912.c fix nxstyle 2024-05-09 23:44:40 +08:00
amg88xx.c feat: add basic driver for amg88xx sensor 2024-09-07 12:03:38 +08:00
apds9922.c nuttx: resolve various 'FAR' and 'CODE' issues 2024-08-26 10:21:03 +08:00
apds9960.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
as726x.c nuttx: resolve various 'FAR' and 'CODE' issues 2024-08-26 10:21:03 +08:00
as5048a.c
as5048b.c
bh1749nuc.c sensors/bh1749nuc: configure I2C frequency 2024-05-20 10:13:42 +08:00
bh1749nuc_base.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
bh1749nuc_base.h sensors/bh1749nuc: configure I2C frequency 2024-05-20 10:13:42 +08:00
bh1749nuc_uorb.c nuttx/uorb: Fix incompatible type error 2024-09-19 19:54:38 +08:00
bh1750fvi.c
bme680_uorb.c nuttx/uorb: Fix initialization error of variable of type `struct sensor_ops_s` 2024-09-19 19:54:38 +08:00
bmg160.c
bmi160.c bmi160: fix compile warning and %zu replace %u 2024-10-18 19:58:22 +08:00
bmi160_base.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
bmi160_base.h bmi160: fix compile warning and %zu replace %u 2024-10-18 19:58:22 +08:00
bmi160_uorb.c bmi160: fix Parameter passing error when use spi 2024-10-18 19:58:22 +08:00
bmi270.c sensors/bmi270: add support for the new sensor framework 2024-04-21 19:06:18 +08:00
bmi270_base.c sensors/bmi270: fix typo 2024-06-17 16:22:15 +08:00
bmi270_base.h sensors/bmi270: add support for the new sensor framework 2024-04-21 19:06:18 +08:00
bmi270_uorb.c nuttx/uorb: Fix incompatible type error 2024-09-19 19:54:38 +08:00
bmm150_uorb.c nuttx/uorb: Fix incompatible type error 2024-09-19 19:54:38 +08:00
bmp180.c
bmp180_base.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
bmp180_base.h
bmp180_uorb.c nuttx/uorb: Fix incompatible type error 2024-09-19 19:54:38 +08:00
bmp280_uorb.c nuttx/uorb: Fix incompatible type error 2024-09-19 19:54:38 +08:00
dhtxx.c
ds18b20_uorb.c nuttx/uorb: Fix incompatible type error 2024-09-19 19:54:38 +08:00
fakesensor_uorb.c nuttx/uorb: Rename GPS to GNSS 2024-09-19 03:44:49 +08:00
fxos8700cq.c
gnss_uorb.c circbuf: Move from mm/circbuf to libs/libc/misc 2024-10-09 08:41:49 +08:00
goldfish_gnss_uorb.c nuttx/uorb: Rename GPS to GNSS 2024-09-19 03:44:49 +08:00
goldfish_sensor_uorb.c convert pointer string to number in base 16 2024-08-14 22:36:57 +08:00
hall3ph.c
hc_sr04.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
hdc1008.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
hts221.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
hyt271_uorb.c nuttx/uorb: Fix incompatible type error 2024-09-19 19:54:38 +08:00
ina219.c
ina226.c
ina3221.c
isl29023.c
kxtj9.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
l3gd20_uorb.c
lis2dh.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
lis3dh.c
lis3dsh.c
lis3mdl.c
lis331dl.c
lm75.c
lm92.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
lps25h.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
lsm6dsl.c
lsm9ds1.c sensors: add uorb support for lsm9ds1 2024-03-09 11:53:57 +08:00
lsm9ds1_base.c sensors: add uorb support for lsm9ds1 2024-03-09 11:53:57 +08:00
lsm9ds1_base.h sensors: add uorb support for lsm9ds1 2024-03-09 11:53:57 +08:00
lsm9ds1_uorb.c nuttx/uorb: Fix incompatible type error 2024-09-19 19:54:38 +08:00
lsm303agr.c
lsm330_spi.c
ltc4151.c
ltr308_uorb.c nuttx/uorb: Fix initialization error of variable of type `struct sensor_ops_s` 2024-09-19 19:54:38 +08:00
max6675.c
max31855.c
max31865.c nuttx: resolve various 'FAR' and 'CODE' issues 2024-08-26 10:21:03 +08:00
max44009.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
mb7040.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
mcp9844.c
mlx90393.c
mlx90614.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
mpl115a.c
mpu60x0.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
mpu9250_uorb.c nuttx/uorb: Fix incompatible type error 2024-09-19 19:54:38 +08:00
ms56xx_uorb.c nuttx/uorb: Fix incompatible type error 2024-09-19 19:54:38 +08:00
ms58xx.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
msa301.c
qencoder.c
scd30.c
scd41.c
sensor.c circbuf: Move from mm/circbuf to libs/libc/misc 2024-10-09 08:41:49 +08:00
sensor_rpmsg.c nuttx/drivers: add ept_release_cb for destroy server resource 2024-10-10 08:44:29 +08:00
sgp30.c
sht3x.c
sht4x.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
sht21.c
sps30.c
t67xx.c
usensor.c usensor.c:fix container_of member error. 2024-10-09 01:33:19 +08:00
veml6070.c
vl53l1x.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
wtgahrs2_uorb.c nuttx/uorb: Rename GPS to GNSS 2024-09-19 03:44:49 +08:00
xen1210.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
xen1210.h
zerocross.c