Delay when run on indicator

This commit is contained in:
Spacehuhn 2022-11-08 22:54:13 +01:00
parent 68f66e1f2a
commit b6e60b8fba
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ void loop() {
// Only start the attack if run-on-indicator is disabled, or indicator actually changed
if(preferences::getRunOnIndicator() && hid::indicatorChanged()) {
delay(100);
attack::start(); // Run script
led::setColor(preferences::getIdleColor()); // Set LED to green
} else if (selector::changed()) {