mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +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
|
||||
*/
|
||||
@@ -815,6 +815,17 @@ esp_err_t esp_wifi_disconnect_internal(void);
|
||||
*/
|
||||
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
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user