using const for getupdatemode

This commit is contained in:
2021-11-22 15:08:58 +01:00
parent e37725ac12
commit 7772eb153d
4 changed files with 6 additions and 4 deletions

View File

@ -1787,7 +1787,7 @@ class Detector {
void updateFirmwareAndServer(const std::string &sname,
const std::string &fname, Positions pos = {});
Result<bool> getUpdateMode(Positions pos = {});
Result<bool> getUpdateMode(Positions pos = {}) const;
/** Restarts detector server in update mode. This is useful when
* server-firmware compatibility is at its worst and server cannot start up