Skip to content

Commit 14db395

Browse files
committed
fixed non existant import
1 parent ca65a1a commit 14db395

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/light_sleep.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ use core::time::Duration;
1010
use std::thread;
1111
use std::time::Instant;
1212

13+
#[cfg(any(esp32s2, esp32s3, esp32c3))]
14+
use esp_idf_hal::gpio;
15+
1316
#[cfg(esp32)]
1417
use esp_idf_hal::gpio::AnyIOPin;
1518
#[cfg(any(esp32, esp32s2, esp32s3, esp32c2, esp32c3))]

0 commit comments

Comments
 (0)