Update xdrv_27_shutter.ino

This commit is contained in:
Theo Arends 2019-10-01 17:20:43 +02:00
parent ea7718c810
commit d9aeb95503
1 changed files with 2 additions and 2 deletions

View File

@ -453,7 +453,7 @@ void CmndShutterPosition(void)
} else {
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);
}
}