瀏覽代碼

Oops - remoteNameComplete not called :0

main
Kurt Eckhardt 5 年之前
父節點
當前提交
eee0d24313
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      bluetooth.cpp

+ 2
- 2
bluetooth.cpp 查看文件

@@ -799,17 +799,17 @@ void BluetoothController::handle_hci_remote_name_complete() {
for (uint8_t *psz = &rxbuf_[9]; *psz; psz++) DBGPrintf("%c", *psz);
DBGPrintf("\n");
}
/*
if (device_driver_) {
/*
if (!device_driver_->btstrbuf) {
device_driver_->btstrbuf = USBHost::allocate_string_buffer();
if (device_driver_->btstrbuf) {

}
}
*/
device_driver_->remoteNameComplete(&rxbuf_[9]);
}
*/

// Lets now try to accept the connection.
sendHCIAcceptConnectionRequest();

Loading…
取消
儲存