We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0c186b commit 3650a81Copy full SHA for 3650a81
src/main.rs
@@ -10,7 +10,6 @@ use consts::{LOG_SEND_INTERVAL_MS, PRINT_HEAP_INTERVAL_MS};
10
use embassy_executor::Spawner;
11
use embassy_sync::signal::Signal;
12
use embassy_time::{Instant, Timer};
13
-use embedded_hal::digital::OutputPin;
14
use esp_backtrace as _;
15
use esp_hal::gpio::Pin;
16
use esp_hal::{
@@ -177,6 +176,8 @@ async fn main(spawner: Spawner) {
177
176
178
#[cfg(feature = "esp32c3")]
179
{
+ use embedded_hal::digital::OutputPin;
180
+
181
let mut bl_pin = adv_shift_reg.get_pin_mut(1, 1, false);
182
_ = bl_pin.set_high();
183
}
0 commit comments