diff --git a/app/src/dcdc.cpp b/app/src/dcdc.cpp index 117c16b..416bac0 100644 --- a/app/src/dcdc.cpp +++ b/app/src/dcdc.cpp @@ -228,6 +228,8 @@ __weak void Dcdc::control() if (startup_mode != DCDC_MODE_OFF) { + output_hvs_enable(); + // startup allowed, but we need to wait until voltages settle if (startup_inhibit()) { return; @@ -325,6 +327,7 @@ void Dcdc::stop() half_bridge_stop(); state = DCDC_CONTROL_OFF; off_timestamp = uptime(); + output_hvs_disable(); } void Dcdc::fuse_destruction() diff --git a/app/src/dcdc.h b/app/src/dcdc.h index dd6e659..abd5da7 100644 --- a/app/src/dcdc.h +++ b/app/src/dcdc.h @@ -181,7 +181,7 @@ private: void output_hvs_enable(); /** - * Disable the reverse polarity MOSFET on the high-sied (if option available) + * Disable the reverse polarity MOSFET on the high-side (if option available) */ void output_hvs_disable();