Skip to content

Commit e01a981

Browse files
aentingerfacchinm
andauthored
[EthConnectionManager] Make "now" const
Co-Authored-By: facchinm <[email protected]>
1 parent da7179b commit e01a981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EthernetConnectionManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ void EthConnectionManager::changeConnectionState(NetworkConnectionState _newStat
7979

8080
void EthConnectionManager::check() {
8181
char msgBuffer[120];
82-
unsigned long now = millis();
82+
unsigned long const now = millis();
8383
int networkStatus = 0;
8484
if (now - lastConnectionTickTime > connectionTickTimeInterval) {
8585
switch (netConnectionState) {

0 commit comments

Comments
 (0)