xiaoxiang781216 commented on a change in pull request #1655:
URL: https://github.com/apache/incubator-nuttx/pull/1655#discussion_r478153658
##########
File path: arch/sim/src/sim/up_idle.c
##########
@@ -116,4 +116,8 @@ void up_idle(void)
up_timer_update();
#endif
+
+#ifdef CONFIG_SIM_HCISOCKET
+ bthcisock_read();
Review comment:
The key point is that the function called by idle loop can't accept any
argument, and then is very strange to name it to read or receive because these
functions normally accept a buffer argument to indicate where to read/receive
the data.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]