Skip to content

Commit 95f8a4d

Browse files
committed
chore: Reduce display update interval to make backlight toggling more responsive
1 parent ccb2d95 commit 95f8a4d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
* Created Date: 2021-08-30 11:19:00
55
* Author: 3urobeat
66
*
7-
* Last Modified: 2024-05-11 14:46:51
7+
* Last Modified: 2025-03-28 14:48:52
88
* Modified By: 3urobeat
99
*
10-
* Copyright (c) 2021 - 2024 3urobeat <https://github.com/3urobeat>
10+
* Copyright (c) 2021 - 2025 3urobeat <https://github.com/3urobeat>
1111
*
1212
* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
1313
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
@@ -51,6 +51,6 @@ void loop()
5151
// Call loopHandler which will handle page loading and switching
5252
loopHandler();
5353

54-
// Delay next loop iteration, updating every 250ms is fast enough
55-
delay(250);
54+
// Delay next loop iteration, update relatively fast to allow responsive backlight toggling
55+
delay(50);
5656
}

0 commit comments

Comments
 (0)