From 3fa3e05bfd5cc78244d49533250fd59dd028d903 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil <33750417+thattil@users.noreply.github.com> Date: Thu, 20 Oct 2022 11:53:23 +0200 Subject: [PATCH] Adcvpp2 (#567) * fix for adcvpp p --- slsDetectorSoftware/src/CmdProxy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slsDetectorSoftware/src/CmdProxy.cpp b/slsDetectorSoftware/src/CmdProxy.cpp index 968550d39..f6a1aeb0e 100644 --- a/slsDetectorSoftware/src/CmdProxy.cpp +++ b/slsDetectorSoftware/src/CmdProxy.cpp @@ -2593,9 +2593,9 @@ std::string CmdProxy::AdcVpp(int action) { } else if (args.size() > 2 || args.size() < 1) { WrongNumberOfParameters(1); } - det->setADCVpp(StringTo(args[1]), mV, + det->setADCVpp(StringTo(args[0]), mV, std::vector{det_id}); - os << args[1] << (mV ? " mV\n" : "\n"); + os << args[0] << (mV ? " mV\n" : "\n"); } else { throw RuntimeError("Unknown action"); }