mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user