mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-07-12 19:01:50 +02:00
Dev/fix port size (#805)
* port datatype changing from int to uint16_t * throwing for -1 given for uint16_t ports
This commit is contained in:
@ -197,7 +197,7 @@ std::string CmdProxy::VirtualServer(int action) {
|
||||
throw RuntimeError("Cannot execute this at module level");
|
||||
}
|
||||
det->setVirtualDetectorServers(StringTo<int>(args[0]),
|
||||
StringTo<int>(args[1]));
|
||||
StringTo<uint16_t>(args[1]));
|
||||
os << ToString(args);
|
||||
} else {
|
||||
throw RuntimeError("Unknown action");
|
||||
|
Reference in New Issue
Block a user