Fix examples
This commit is contained in:
		@@ -39,7 +39,7 @@ async fn main(_spawner: Spawner) {
 | 
			
		||||
    info!("Hello World!");
 | 
			
		||||
 | 
			
		||||
    let ch1 = PwmPin::new_ch1(p.PA6, OutputType::PushPull);
 | 
			
		||||
    let mut pwm = SimplePwm::new(p.TIM3, Some(ch1), None, None, None, khz(10));
 | 
			
		||||
    let mut pwm = SimplePwm::new(p.TIM3, Some(ch1), None, None, None, khz(10), Default::default());
 | 
			
		||||
    let max = pwm.get_max_duty();
 | 
			
		||||
    pwm.enable(Channel::Ch1);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user