mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-14 17:03:38 +00:00
orb_subscribe_multi() opens the descriptor blocking, so a sensor whose lower half only implements fetch() (no push, e.g. an I2C part with no interrupt line) never satisfies poll()/read() and the listener silently times out with zero messages, indistinguishable from a sensor that has nothing to report. Set O_NONBLOCK after subscribing; sensors that do push samples are unaffected, since neither sensor_poll() nor sensor_read() consults O_NONBLOCK on that path. Signed-off-by: Felipe Moura <moura.fmo@gmail.com> |
||
|---|---|---|
| .. | ||
| sensor | ||
| test | ||
| uORB | ||
| CMakeLists.txt | ||
| generator.c | ||
| Kconfig | ||
| listener.c | ||
| Make.defs | ||
| Makefile | ||