nuttx-apps/system/uorb
haopengxiang bdedf648c5 uorb/topics: update delicated match of listener topics
bug: if user input obr_topic is sensor_gps_sate(wrong topic, which does not exist), the using of `strncmp` will assign idx=8 (as sesnor_gps) in the first.

However, there is no match in the `g_sensor_list`, hence idx=8 will give  out value of `sensor_gps` as output(wrong).

Change: This update aims to match the whole value of sensor name in `g_sensor_list`, while keeping `sensor_name+number` match in this condition.

Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
2023-08-10 02:01:09 +08:00
..
sensor uorb/topics: update delicated match of listener topics 2023-08-10 02:01:09 +08:00
test Replace all sprintf with snprintf 2023-05-08 21:35:16 +03:00
uORB system/uorb: Solve the problem of wrong use of return value 2023-07-28 21:51:10 -07:00
Kconfig system/uorb: listener, has 'top' command. 2022-07-23 16:57:58 -03:00
listener.c uorb: Avoiding GCC VCVT Issue When MVE is Enabled 2023-07-28 21:49:58 -07:00
Make.defs Makefile: replace INCDIR to INCDIR_PREFIX 2022-11-10 02:38:58 +08:00
Makefile apps/system/uorb/Makefile: Fix mistakes in comments 2023-03-07 21:45:12 +02:00