mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-16 21:14:29 +02:00
mode-button: fix delay
The `:beep` command is async... So an additional delay is required unconditionally.
This commit is contained in:
parent
cbb1e624b2
commit
3b65b7e835
1 changed files with 1 additions and 2 deletions
|
@ -39,9 +39,8 @@
|
|||
/ system leds set type=$LEDInvert [ find where leds="user-led" type=$LEDState ];
|
||||
:if ([ / system routerboard settings get silent-boot ] = false) do={
|
||||
:beep length=200ms;
|
||||
} else={
|
||||
:delay 200ms;
|
||||
}
|
||||
:delay 200ms;
|
||||
/ system leds set type=$LEDState [ find where leds="user-led" type=$LEDInvert ];
|
||||
:delay 200ms;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue