mirror of https://github.com/arendst/Tasmota.git
parent
9974d29726
commit
ddbca8e393
|
@ -394,7 +394,7 @@ void ShutterWaitForMotorStop(uint8_t i)
|
|||
{
|
||||
AddLog_P2(LOG_LEVEL_INFO, PSTR("SHT: Wait for Motorstop.."));
|
||||
if (Shutter.mode == SHT_OFF_ON__OPEN_CLOSE || Shutter.mode == SHT_OFF_ON__OPEN_CLOSE_STEPPER) {
|
||||
if ( Shutter.mode = SHT_OFF_ON__OPEN_CLOSE_STEPPER) {
|
||||
if ( Shutter.mode == SHT_OFF_ON__OPEN_CLOSE_STEPPER) {
|
||||
//AddLog_P2(LOG_LEVEL_INFO, PSTR("SHT: Frequency change %d"), Shutter.pwm_frequency);
|
||||
while (Shutter.pwm_frequency > 0) {
|
||||
Shutter.accelerator[i] = 0;
|
||||
|
|
Loading…
Reference in New Issue