Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Vollbrecht committed Jun 1, 2024
1 parent 91b6c3a commit e4e6089
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,15 @@ impl Future for YieldNowFuture {
pub mod thread {
use core::ffi::CStr;

use enumset::{EnumSet, EnumSetType};
use enumset::EnumSetType;

#[cfg(not(any(
esp_idf_version_major = "4",
all(esp_idf_version_major = "5", esp_idf_version_minor = "0"),
all(esp_idf_version_major = "5", esp_idf_version_minor = "1"),
all(esp_idf_version_major = "5", esp_idf_version_minor = "2"),
)))] // ESP-IDF 5.3 and later
use enumset::EnumSet;

use esp_idf_sys::*;

Expand Down

0 comments on commit e4e6089

Please sign in to comment.