Device: Refactor supportsNetworkMutex

This commit is contained in:
Kyle Schwarz
2026-05-05 20:35:51 -04:00
parent 9abd9389f4
commit a68b64c641
6 changed files with 12 additions and 18 deletions
+2 -2
View File
@@ -878,8 +878,6 @@ public:
bool unlockNetworks(const std::set<Network::NetID>& networks);
bool unlockAllNetworks();
std::shared_ptr<NetworkMutexMessage> getNetworkMutexStatus(Network::NetID network);
virtual bool supportsNetworkMutex() const { return false; }
protected:
bool online = false;
@@ -998,6 +996,8 @@ protected:
std::optional<HardwareInfo::Version> bootloaderVersion = std::nullopt;
bool supportsNetworkMutex = false;
private:
neodevice_t data;
std::shared_ptr<ResetStatusMessage> latestResetStatus;