Fix typo
parent
a2fecb7621
commit
0c330f734b
|
|
@ -262,7 +262,7 @@ bool Device::goOffline() {
|
||||||
MessageFilter filter(Network::NetID::Reset_Status);
|
MessageFilter filter(Network::NetID::Reset_Status);
|
||||||
filter.includeInternalInAny = true;
|
filter.includeInternalInAny = true;
|
||||||
|
|
||||||
// wait until communication is disabled or 10 seconds, whichever comes first
|
// Wait until communication is disabled or 5 seconds, whichever comes first
|
||||||
while((std::chrono::system_clock::now() - startTime) < std::chrono::seconds(5)) {
|
while((std::chrono::system_clock::now() - startTime) < std::chrono::seconds(5)) {
|
||||||
if(latestResetStatus && !latestResetStatus->comEnabled)
|
if(latestResetStatus && !latestResetStatus->comEnabled)
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue