diff --git a/src/laser_diode/ld_pwr_exc_protector.rs b/src/laser_diode/ld_pwr_exc_protector.rs index 1494909..4a9259d 100644 --- a/src/laser_diode/ld_pwr_exc_protector.rs +++ b/src/laser_diode/ld_pwr_exc_protector.rs @@ -270,7 +270,8 @@ impl LdPwrExcProtector { pub fn pwr_off() { if let Some(ref mut wdg) = LdPwrExcProtector::get() { wdg.alarm_status.pwr_engaged = false; - wdg.phy.pwr_en_ch0.set_low() + wdg.phy.pwr_en_ch0.set_low(); + LdPwrExcProtector::disable_watchdog_interrupt(); } }