mirror of
https://github.com/esp-rs/esp-idf-hal.git
synced 2025-09-28 12:51:04 +00:00
no pub for apply_config
This commit is contained in:
parent
738726e188
commit
65e1921b65
@ -239,7 +239,7 @@ impl<'d> LedcDriver<'d> {
|
|||||||
Ok(driver)
|
Ok(driver)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn apply_config(&mut self) -> Result<(), EspError> {
|
fn apply_config(&mut self) -> Result<(), EspError> {
|
||||||
let channel_config = ledc_channel_config_t {
|
let channel_config = ledc_channel_config_t {
|
||||||
speed_mode: self.speed_mode.into(),
|
speed_mode: self.speed_mode.into(),
|
||||||
channel: self.channel as u32,
|
channel: self.channel as u32,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user