mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-30 08:01:18 +01:00
using const for getupdatemode
This commit is contained in:
@@ -2568,7 +2568,9 @@ void Module::rebootController() {
|
||||
<< "): Controller rebooted successfully!";
|
||||
}
|
||||
|
||||
bool Module::getUpdateMode() { return sendToDetector<int>(F_GET_UPDATE_MODE); }
|
||||
bool Module::getUpdateMode() const {
|
||||
return sendToDetector<int>(F_GET_UPDATE_MODE);
|
||||
}
|
||||
|
||||
void Module::setUpdateMode(const bool updatemode) {
|
||||
sendToDetector(F_SET_UPDATE_MODE, static_cast<int>(updatemode), nullptr);
|
||||
|
||||
Reference in New Issue
Block a user