From 3c7ca2004c78ec386e136b947ed5e05a39b61aaf Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Mon, 20 Jul 2020 11:46:55 +1000 Subject: extmod/modbluetooth: Fix so it builds in peripheral-only mode. --- extmod/btstack/modbluetooth_btstack.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extmod/btstack/modbluetooth_btstack.h') diff --git a/extmod/btstack/modbluetooth_btstack.h b/extmod/btstack/modbluetooth_btstack.h index c943b6d72..2fad86f22 100644 --- a/extmod/btstack/modbluetooth_btstack.h +++ b/extmod/btstack/modbluetooth_btstack.h @@ -44,10 +44,11 @@ typedef struct _mp_bluetooth_btstack_root_pointers_t { // Characteristic (and descriptor) value storage. mp_gatts_db_t gatts_db; + btstack_linked_list_t pending_ops; + #if MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE // Registration for notify/indicate events. gatt_client_notification_t notification; - btstack_linked_list_t pending_ops; #endif } mp_bluetooth_btstack_root_pointers_t; -- cgit v1.2.3