mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 11:46:31 +00:00
Update xdrv_27_shutter.ino
This commit is contained in:
parent
ea7718c810
commit
d9aeb95503
@ -453,7 +453,7 @@ void CmndShutterPosition(void)
|
|||||||
} else {
|
} else {
|
||||||
target_pos_percent = ShutterRealToPercentPosition(Shutter.real_position[index], index);
|
target_pos_percent = ShutterRealToPercentPosition(Shutter.real_position[index], index);
|
||||||
}
|
}
|
||||||
XdrvMailbox.index = index +1;
|
XdrvMailbox.index = index +1; // Fix random index for ShutterClose
|
||||||
ResponseCmndIdxNumber(Settings.shutter_invert[index] ? 100 - target_pos_percent : target_pos_percent);
|
ResponseCmndIdxNumber(Settings.shutter_invert[index] ? 100 - target_pos_percent : target_pos_percent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user