mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-21 17:59:40 +01:00
esp_cpu_compare_and_set() abstracts the atomic compare-and-set instruction by hiding the details of whether the target variable is in internal or external RAM. This commit updates "spinlocks.h" as follows: - esp_cpu_compare_and_set() is now called instead of "compare_set.h" - Refactored spinlock logic to be more optimized and have more stringent sanity checks
5.7 KiB
5.7 KiB