diff --git a/src/pwm.rs b/src/pwm.rs
index 05c0145803c034043dd53f587f5274543517bf53..03aa1ed29f919e62fd9e6cc95607fc96c9d09a10 100644
--- a/src/pwm.rs
+++ b/src/pwm.rs
@@ -127,6 +127,8 @@ impl<'a> Pwm<'a, TIM1> {
                 .cc4p()
                 .clear_bit()
         });
+        
+        tim1.bdtr.modify(|_, w| w.moe().set_bit());
 
         self._set_period(period);