Skip to content

Commit

Permalink
Merge pull request #469 from pennam/zak-warn
Browse files Browse the repository at this point in the history
fix: Warnings
  • Loading branch information
pennam authored May 27, 2024
2 parents 2c65e9b + 461025b commit b461a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utility/time/TimeService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ bool TimeServiceClass::connected()
if(_con_hdl == nullptr) {
return false;
} else {
return _con_hdl->getStatus() == NetworkConnectionState::CONNECTED;
return _con_hdl->check() == NetworkConnectionState::CONNECTED;
}
}

Expand Down

0 comments on commit b461a0b

Please sign in to comment.