mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-02 11:48:10 +00:00
SENSOR_TYPE_VELOCITY and SENSOR_TYPE_AMBIENT_TEMPERATURE have an entry in the kernel g_sensor_meta[] table but no ORB_DECLARE/ORB_DEFINE in user space, so ORB_ID() fails to link, callers must fall back to orb_open() by name and lose the o_size check, and uorb_listener cannot monitor them. Add the missing metadata and register both in g_sensor_list[]; ambient_temp reuses struct sensor_temp the same way sensor_light_uncal already reuses struct sensor_light. Signed-off-by: likun17 <likun17@xiaomi.com> |
||
|---|---|---|
| .. | ||
| sensor | ||
| test | ||
| uORB | ||
| CMakeLists.txt | ||
| generator.c | ||
| Kconfig | ||
| listener.c | ||
| Make.defs | ||
| Makefile | ||