Skip to content

Commit 7601474

Browse files
committed
Remove redundant millis() assignment in loop
Eliminated the unnecessary assignment of 'now' in the loop function, as it was already defined earlier. This helps clean up the code and avoids redeclaration.
1 parent 4730822 commit 7601474

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

TankAlarm-112025-Server-BluesOpta/TankAlarm-112025-Server-BluesOpta.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2651,7 +2651,6 @@ void loop() {
26512651

26522652
handleWebRequests();
26532653

2654-
unsigned long now = millis();
26552654
if (now - gLastPollMillis > 5000UL) {
26562655
gLastPollMillis = now;
26572656
pollNotecard();

0 commit comments

Comments
 (0)