mirror of
https://github.com/esp-rs/esp-idf-hal.git
synced 2025-09-28 04:41:02 +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)
|
||||
}
|
||||
|
||||
pub fn apply_config(&mut self) -> Result<(), EspError> {
|
||||
fn apply_config(&mut self) -> Result<(), EspError> {
|
||||
let channel_config = ledc_channel_config_t {
|
||||
speed_mode: self.speed_mode.into(),
|
||||
channel: self.channel as u32,
|
||||
|
Loading…
x
Reference in New Issue
Block a user