extmod/modbluetooth: Put declaration of connect_cancel in correct place.
This fixes a bug introduced in 851ecb2da1
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
889dee8076
commit
e7fff736b5
|
@ -371,12 +371,12 @@ int mp_bluetooth_gap_scan_stop(void);
|
|||
|
||||
// Connect to a found peripheral.
|
||||
int mp_bluetooth_gap_peripheral_connect(uint8_t addr_type, const uint8_t *addr, int32_t duration_ms, int32_t min_conn_interval_us, int32_t max_conn_interval_us);
|
||||
#endif
|
||||
|
||||
#if MICROPY_PY_BLUETOOTH_ENABLE_GATT_CLIENT
|
||||
|
||||
// Cancel in-progress connection to a peripheral.
|
||||
int mp_bluetooth_gap_peripheral_connect_cancel(void);
|
||||
#endif
|
||||
|
||||
#if MICROPY_PY_BLUETOOTH_ENABLE_GATT_CLIENT
|
||||
|
||||
// Find all primary services on the connected peripheral.
|
||||
int mp_bluetooth_gattc_discover_primary_services(uint16_t conn_handle, const mp_obj_bluetooth_uuid_t *uuid);
|
||||
|
|
Loading…
Reference in New Issue