Add StartFullEnergy method to HeatingPad API

This commit is contained in:
zhangyisong
2026-07-15 11:18:21 +08:00
parent 1e6d6b9b30
commit f425f0acab
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -32,6 +32,10 @@ public:
s_active = true;
}
static auto StartFullEnergy() -> void {
pwm_set_pulse_dt(&s_pwm_spec, s_pwm_spec.period);
}
static auto Stop() -> void {
s_active = false;
k_timer_stop(&s_timer);