diff --git a/esp32c3-hal/examples/ledc.rs b/esp32c3-hal/examples/ledc.rs index 9d79f58de..93f50e9d6 100644 --- a/esp32c3-hal/examples/ledc.rs +++ b/esp32c3-hal/examples/ledc.rs @@ -73,6 +73,7 @@ fn main() -> ! { .configure(channel::config::Config { timer: &lstimer0, duty_pct: 10, + pin_config: channel::config::PinConfig::PushPull, }) .unwrap();