mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(wifi): support weak func for wifi lmac assert
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
@@ -792,6 +792,17 @@ esp_err_t esp_nan_internal_register_callbacks(struct nan_callbacks *cb);
|
|||||||
*/
|
*/
|
||||||
void esp_wifi_enable_easy_fragment(bool enable);
|
void esp_wifi_enable_easy_fragment(bool enable);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Weak Wi-Fi assert hook.
|
||||||
|
*
|
||||||
|
* The Wi-Fi library provides a weak default implementation. Applications may
|
||||||
|
* define this symbol to override the default behavior for debugging.
|
||||||
|
*
|
||||||
|
* @note This is intended for diagnostics only and is not part of normal Wi-Fi
|
||||||
|
* operation.
|
||||||
|
*/
|
||||||
|
void wifi_assert(bool expr, const char *file, const char *func, int line);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user