diff options
author | Jim Mussared <jim.mussared@gmail.com> | 2020-07-20 11:46:55 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-07-20 23:25:56 +1000 |
commit | 3c7ca2004c78ec386e136b947ed5e05a39b61aaf (patch) | |
tree | 38ff8c43242beccbaf8cbe620a2003d62b83d5b4 /extmod/btstack/modbluetooth_btstack.h | |
parent | 43ceadac5503ac6854dd0d400bd13b93f36dd6a6 (diff) | |
download | micropython-3c7ca2004c78ec386e136b947ed5e05a39b61aaf.tar.gz micropython-3c7ca2004c78ec386e136b947ed5e05a39b61aaf.zip |
extmod/modbluetooth: Fix so it builds in peripheral-only mode.
Diffstat (limited to 'extmod/btstack/modbluetooth_btstack.h')
-rw-r--r-- | extmod/btstack/modbluetooth_btstack.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extmod/btstack/modbluetooth_btstack.h b/extmod/btstack/modbluetooth_btstack.h index c943b6d72d..2fad86f226 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; |