You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "acassis (via GitHub)" <gi...@apache.org> on 2023/05/05 12:58:17 UTC
[GitHub] [nuttx] acassis commented on pull request #9166: wireless/bluetooth: Support removable bluetooth modules.
acassis commented on PR #9166:
URL: https://github.com/apache/nuttx/pull/9166#issuecomment-1536224866
@ldube did you see these errors?
```
bluetooth/bt_hcicore.c: In function 'hci_tx_kthread':
Error: bluetooth/bt_hcicore.c:988:17: error: 'struct bt_dev_s' has no member named 'tx_status'
988 | for (; g_btdev.tx_status == OK; )
| ^
Error: bluetooth/bt_hcicore.c:1021:18: error: 'struct bt_dev_s' has no member named 'tx_status'
1021 | if (g_btdev.tx_status == OK)
| ^
Error: bluetooth/bt_hcicore.c:1036:10: error: 'struct bt_dev_s' has no member named 'tx_status'
1036 | g_btdev.tx_status = ESHUTDOWN;
| ^
bluetooth/bt_hcicore.c: In function 'cmd_queue_init':
Error: bluetooth/bt_hcicore.c:1456:10: error: 'struct bt_dev_s' has no member named 'tx_status'
1456 | g_btdev.tx_status = OK;
| ^
bluetooth/bt_hcicore.c: In function 'cmd_queue_deinit':
Error: bluetooth/bt_hcicore.c:1486:10: error: 'struct bt_dev_s' has no member named 'tx_status'
1486 | g_btdev.tx_status = ENOTCONN;
| ^
Error: bluetooth/bt_hcicore.c:1497:9: error: implicit declaration of function 'bt_hci_cmd_create' [-Werror=implicit-function-declaration]
1497 | buf = bt_hci_cmd_create(BT_HCI_OP_RESET, 0);
| ^~~~~~~~~~~~~~~~~
Error: bluetooth/bt_hcicore.c:1497:7: error: assignment to 'struct bt_buf_s *' from 'int' makes pointer from integer without a cast [-Werror=int-conversion]
1497 | buf = bt_hci_cmd_create(BT_HCI_OP_RESET, 0);
| ^
Error: bluetooth/bt_hcicore.c:1509:17: error: 'struct bt_dev_s' has no member named 'tx_status'
1509 | while (g_btdev.tx_status == ENOTCONN)
| ^
bluetooth/bt_hcicore.c: In function 'bt_initialize':
Error: bluetooth/bt_hcicore.c:1568:3: error: 'g_callback_list' undeclared (first use in this function)
1568 | g_callback_list = NULL;
| ^~~~~~~~~~~~~~~
bluetooth/bt_hcicore.c:1568:3: note: each undeclared identifier is reported only once for each function it appears in
Error: bluetooth/bt_hcicore.c:1569:3: error: 'g_scan_dev_found_cb' undeclared (first use in this function)
1569 | g_scan_dev_found_cb = NULL;
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
```
--
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.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org