mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-20 16:28:41 +01:00
bug fixes for tests
This commit is contained in:
@@ -789,7 +789,7 @@ std::string CmdProxy::TemperatureEvent(int action) {
|
||||
if (args.size() != 1) {
|
||||
WrongNumberOfParameters(1);
|
||||
}
|
||||
if (std::stoi(args[1]) != 0) {
|
||||
if (std::stoi(args[0]) != 0) {
|
||||
throw sls::RuntimeError("Unknown argument for temp event. Did you mean 0 to reset event?");
|
||||
}
|
||||
det->resetTemperatureEvent();
|
||||
|
||||
Reference in New Issue
Block a user