Communication: Clear disconnected on open

This commit is contained in:
Bryant Jones
2026-11-04 15:54:14 -05:00
committed by Kyle Schwarz
parent 9f747df692
commit 9e49c315ed
3 changed files with 51 additions and 0 deletions
+2
View File
@@ -36,6 +36,8 @@ bool Communication::open() {
return false;
}
// A heartbeat timeout marks the driver disconnected and leaves the cleanup to the user, a new open starts connected
driver->setIsDisconnected(false);
if(!driver->open())
return false;
spawnThreads();