mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-18 11:33:17 +03:00
esp_log_impl_lock() and esp_log_impl_unlock() called pthread_mutex_lock()/unlock() inside assert(), so with NDEBUG the calls were compiled out and the log lock was never taken. Call them unconditionally and assert on the result.
Please see :doc:`docs/en/api-reference/system/log.rst` for more details.