diff --git a/esp32-hal/examples/ledc.rs b/esp32-hal/examples/ledc.rs index 8c92feb46..a5c52f326 100644 --- a/esp32-hal/examples/ledc.rs +++ b/esp32-hal/examples/ledc.rs @@ -63,6 +63,7 @@ fn main() -> ! { .configure(channel::config::Config { timer: &hstimer0, duty_pct: 10, + pin_config: channel::config::PinConfig::PushPull, }) .unwrap(); diff --git a/esp32c2-hal/examples/ledc.rs b/esp32c2-hal/examples/ledc.rs index 9ec8e2ffc..b4520af72 100644 --- a/esp32c2-hal/examples/ledc.rs +++ b/esp32c2-hal/examples/ledc.rs @@ -66,6 +66,7 @@ fn main() -> ! { .configure(channel::config::Config { timer: &lstimer0, duty_pct: 90, + pin_config: channel::config::PinConfig::PushPull, }) .unwrap(); diff --git a/esp32c6-hal/examples/ledc.rs b/esp32c6-hal/examples/ledc.rs index 86b6805c2..758e0ea7f 100644 --- a/esp32c6-hal/examples/ledc.rs +++ b/esp32c6-hal/examples/ledc.rs @@ -75,6 +75,7 @@ fn main() -> ! { .configure(channel::config::Config { timer: &lstimer0, duty_pct: 10, + pin_config: channel::config::PinConfig::PushPull, }) .unwrap(); diff --git a/esp32s2-hal/examples/ledc.rs b/esp32s2-hal/examples/ledc.rs index 8c5adc246..7565960fb 100644 --- a/esp32s2-hal/examples/ledc.rs +++ b/esp32s2-hal/examples/ledc.rs @@ -68,6 +68,7 @@ fn main() -> ! { .configure(channel::config::Config { timer: &lstimer0, duty_pct: 10, + pin_config: channel::config::PinConfig::PushPull, }) .unwrap(); diff --git a/esp32s3-hal/examples/ledc.rs b/esp32s3-hal/examples/ledc.rs index bde9c0758..625dd5d36 100644 --- a/esp32s3-hal/examples/ledc.rs +++ b/esp32s3-hal/examples/ledc.rs @@ -67,6 +67,7 @@ fn main() -> ! { .configure(channel::config::Config { timer: &lstimer0, duty_pct: 10, + pin_config: channel::config::PinConfig::PushPull, }) .unwrap();