- Do not use console_read() for expecting characters from the console - Added a new command `sensor read_stop` to stop an infinite read - Instead of using a while loop, changed sensor shell to be event based - Modify help to show new command - Before this change, on polling sensors, an event was removed from the default queue. By using a separate queue for doing a read and not using a semaphore and a while loop this issue gets fixed.
[ Full content available at: https://github.com/apache/mynewt-core/pull/1376 ] This message was relayed via gitbox.apache.org for [email protected]
