forked from EmbeddedTeam/app_photomagnetic
Add StartFullEnergy method to HeatingPad API
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user