mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 13:46:37 +00:00
Update xdrv_27_shutter.ino
Minor fix in recognizing stepper
This commit is contained in:
parent
8e2b60d3b9
commit
9974d29726
@ -188,7 +188,7 @@ void ShutterInit(void)
|
||||
}
|
||||
} else {
|
||||
Shutter.mode = SHT_OFF_ON__OPEN_CLOSE;
|
||||
if (pin[GPIO_PWM1+i] < 99 && pin[GPIO_CNTR1+i]) {
|
||||
if (pin[GPIO_PWM1+i] < 99 && pin[GPIO_CNTR1+i] < 99) {
|
||||
Shutter.mode = SHT_OFF_ON__OPEN_CLOSE_STEPPER;
|
||||
Shutter.pwm_frequency = 0;
|
||||
analogWriteFreq(Shutter.pwm_frequency);
|
||||
|
Loading…
x
Reference in New Issue
Block a user