espressif / esp-usb

Other
30 stars 16 forks source link

refactor(usb): Change critical section API #74

Open peter-marcisovsky opened 1 month ago

peter-marcisovsky commented 1 month ago

Description

As per idf-core team recommendations, this MR updates a Critical section API to a new one.

Related

Closes IDF-11361

Testing

To pass CI tests


Checklist

Before submitting a Pull Request, please ensure the following:

peter-marcisovsky commented 1 month ago

esp_private/critical_section.h is not present in IDF 5.0. Updating to new critical section API is a preparation for IDF 6.0 support. By the time IDF 6.0 is released, IDF 5.0 will probably go EOL, and we will be able to merge this. On hold for now.