mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-03 13:19:03 +00:00
listener_update() only prints topic data when delta_generation is non-zero (i.e., new data arrived since last check). In listener_top, the first call adds objects to the list, and subsequent calls only print if new data was published between iterations. This results in listener_top -T showing only the header with no topic rows. Fix by always printing the current topic state in listener_update, setting frequency to 0 when no new data arrives. This ensures listener_top displays all topics every iteration. Fixes apache/nuttx-apps#3202 Signed-off-by: hanzj <hanzhijian@zepp.com> |
||
|---|---|---|
| .. | ||
| sensor | ||
| test | ||
| uORB | ||
| CMakeLists.txt | ||
| generator.c | ||
| Kconfig | ||
| listener.c | ||
| Make.defs | ||
| Makefile | ||