Clarify the comment, as suggested

This commit is contained in:
ivmarkov 2024-01-24 22:47:08 +00:00
parent e7f6ac8f1f
commit c187ed38c1

View File

@ -92,7 +92,8 @@ impl From<TickType> for Option<Duration> {
/// trigger.
pub struct Ets;
// No longer available in the generated bindings for ESP-IDF 5
// This binding is no longer available in the generated bindings for ESP-IDF 5 or later.
// The function itself is still available. Therefore, we define the binding here.
#[cfg(not(esp_idf_version_major = "4"))]
extern "C" {
pub fn ets_delay_us(us: u32);