extmod/btstack: Switch to use hci_dump_init instead of hci_dump_open.

The latter is no longer available in the version of BTstack now in use by
this repository.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2023-04-22 00:39:31 +10:00
parent ec1eeccab4
commit 9e6885ad82
4 changed files with 6 additions and 2 deletions

View File

@@ -35,6 +35,7 @@
#include "lib/btstack/platform/embedded/btstack_run_loop_embedded.h"
#include "lib/btstack/platform/embedded/hal_cpu.h"
#include "lib/btstack/platform/embedded/hal_time_ms.h"
#include "lib/btstack/platform/embedded/hci_dump_embedded_stdout.h"
#include "extmod/btstack/modbluetooth_btstack.h"
@@ -81,7 +82,7 @@ uint32_t hal_time_ms(void) {
void mp_bluetooth_btstack_port_init(void) {
btstack_run_loop_init(btstack_run_loop_embedded_get_instance());
// hci_dump_open(NULL, HCI_DUMP_STDOUT);
// hci_dump_init(hci_dump_embedded_stdout_get_instance());
#if MICROPY_BLUETOOTH_BTSTACK_H4
mp_bluetooth_btstack_port_init_h4();