Espressif's Characteristics allocate memory that may be on the supervisor heap. We need to free it when stopping BLE workflow. Otherwise, we leak the memory and eventually safe mode. Fixes #9599
15 lines
462 B
C
15 lines
462 B
C
// This file is part of the CircuitPython project: https://circuitpython.org
|
|
//
|
|
// SPDX-FileCopyrightText: Copyright (c) 2021 Scott Shawcroft for Adafruit Industries
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
|
|
void supervisor_start_bluetooth_file_transfer(void);
|
|
void supervisor_stop_bluetooth_file_transfer(void);
|
|
|
|
void supervisor_bluetooth_file_transfer_background(void);
|
|
void supervisor_bluetooth_file_transfer_disconnected(void);
|