The `sh_mqtt_rx_rb_flush` function was intended to flush `rx_rb` when get an error return from `mqtt_read_publish_payload_blocking`. Instead of retrieving values from `rx_rb` one by one, calling `ring_buf_reset` achieves the same result more efficiently. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig.backends | ||
| shell_adsp_memory_window.c | ||
| shell_dummy.c | ||
| shell_mqtt.c | ||
| shell_rpmsg.c | ||
| shell_rtt.c | ||
| shell_telnet_protocol.h | ||
| shell_telnet.c | ||
| shell_uart.c | ||
| shell_websocket.c | ||