mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-19 18:40:01 +02:00
parent
f9f485c99e
commit
3fa3e05bfd
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user