mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'feat/support_weak_func_wifi_assert' into 'master'
fix(wifi): support weak func for wifi lmac assert Closes WIFIBUG-1715 See merge request espressif/esp-idf!45496
This commit is contained in:
@@ -890,6 +890,17 @@ typedef esp_err_t (*esp_vendor_ie_cb_with_ret_t)(void *ctx, wifi_vendor_ie_type_
|
|||||||
*/
|
*/
|
||||||
esp_err_t esp_wifi_set_vendor_ie_with_ret_cb(esp_vendor_ie_cb_with_ret_t cb, void *ctx);
|
esp_err_t esp_wifi_set_vendor_ie_with_ret_cb(esp_vendor_ie_cb_with_ret_t cb, void *ctx);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @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
|
||||||
|
|||||||
+1
-1
Submodule components/esp_wifi/lib updated: 4088f42e77...e865741508
Reference in New Issue
Block a user