You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/03/10 08:43:46 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #2991: risc-v/bl602: Add wifi and ble support

xiaoxiang781216 commented on a change in pull request #2991:
URL: https://github.com/apache/incubator-nuttx/pull/2991#discussion_r591220465



##########
File path: arch/risc-v/src/bl602/bl602_idle.c
##########
@@ -49,6 +49,11 @@
 
 void up_idle(void)
 {
+#if defined(CONFIG_BL602_BLE_CONTROLLER)
+  extern int ble_hci_do_rx(void);
+  ble_hci_do_rx();

Review comment:
       Why not drive the receive by interrupt or dedicated thread. The idle thread may schedule too late to 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:
users@infra.apache.org