Browse Source

Minimum delay in menu click feedback

Squished #1849
Scott Lahteine 9 years ago
parent
commit
cf9b58452c
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/ultralcd.cpp

+ 3
- 1
Marlin/ultralcd.cpp View File

1159
       delayMicroseconds(delay);
1159
       delayMicroseconds(delay);
1160
       WRITE(BEEPER,LOW);
1160
       WRITE(BEEPER,LOW);
1161
       delayMicroseconds(delay);
1161
       delayMicroseconds(delay);
1162
-     }
1162
+    }
1163
+    const int j = max(10000 - LCD_FEEDBACK_FREQUENCY_DURATION_MS * 1000, 0);
1164
+    if (j) delayMicroseconds(j);
1163
   #endif
1165
   #endif
1164
 }
1166
 }
1165
 
1167
 

Loading…
Cancel
Save