Skip to content

Commit 89cbe59

Browse files
committed
Fix regression from #24192
1 parent ce67a50 commit 89cbe59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_tasmota.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ extern "C" {
121121
int32_t top = be_top(vm); // Get the number of arguments
122122
if (top == 0 || (top == 1 && be_isint(vm, 1))) { // only 1 argument of type string accepted
123123
uint32_t delay = 0;
124-
if (top == 2) {
124+
if (top == 1) {
125125
delay = be_toint(vm, 1);
126126
}
127127
uint32_t ret_millis = millis() + delay;

0 commit comments

Comments
 (0)