File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 88//! sleep effectively ends the program, this is how we get information about
99//! the previous run.
1010
11+ #![ allow( unknown_lints) ]
12+ #![ allow( unexpected_cfgs) ]
13+
1114use core:: time:: Duration ;
1215#[ cfg( any( esp32c2, esp32c3) ) ]
1316use esp_idf_hal:: gpio:: Level ;
Original file line number Diff line number Diff line change 33//! Enables multiple light sleep wakeup sources and do sleeps in a loop.
44//! Prints wakeup reason and sleep time on wakeup.
55
6+ #![ allow( unknown_lints) ]
7+ #![ allow( unexpected_cfgs) ]
8+
69use core:: time:: Duration ;
710#[ cfg( any( esp32, esp32s2, esp32s3) ) ]
811use esp_idf_hal:: gpio:: AnyIOPin ;
9- #[ cfg( any( esp32, esp32s2, esp32s3) ) ]
1012use esp_idf_hal:: gpio:: Pull ;
1113use esp_idf_hal:: gpio:: { self , PinDriver } ;
1214use esp_idf_hal:: peripherals:: Peripherals ;
You can’t perform that action at this time.
0 commit comments