mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-09 18:33:53 +01:00
1 parent
f9f485c99e
commit
3fa3e05bfd
1 file changed
+2
-2
@@ -2593,9 +2593,9 @@ std::string CmdProxy::AdcVpp(int action) {
|
||||
} else if (args.size() > 2 || args.size() < 1) {
|
||||
WrongNumberOfParameters(1);
|
||||
}
|
||||
det->setADCVpp(StringTo<int>(args[1]), mV,
|
||||
det->setADCVpp(StringTo<int>(args[0]), mV,
|
||||
std::vector<int>{det_id});
|
||||
os << args[1] << (mV ? " mV\n" : "\n");
|
||||
os << args[0] << (mV ? " mV\n" : "\n");
|
||||
} else {
|
||||
throw RuntimeError("Unknown action");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user