mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
commit
f31c4bdea4
@ -1767,7 +1767,7 @@ bool Xdrv27(uint8_t function)
|
||||
}
|
||||
break;
|
||||
case FUNC_BUTTON_PRESSED:
|
||||
if (Settings->shutter_button[XdrvMailbox.index] & (1<<31)) {
|
||||
if (XdrvMailbox.index < MAX_SHUTTER_KEYS && Settings->shutter_button[XdrvMailbox.index] & (1<<31)) {
|
||||
ShutterButtonHandler();
|
||||
result = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user