From c0f06fcfcab98cb6d8a975b99f635f097726062e Mon Sep 17 00:00:00 2001 From: Erik Frojdh Date: Fri, 26 Apr 2019 17:11:32 +0200 Subject: [PATCH] fix reset frames caught --- slsDetectorSoftware/src/slsDetector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slsDetectorSoftware/src/slsDetector.cpp b/slsDetectorSoftware/src/slsDetector.cpp index 0daf2de22..da7c7be40 100755 --- a/slsDetectorSoftware/src/slsDetector.cpp +++ b/slsDetectorSoftware/src/slsDetector.cpp @@ -3516,7 +3516,7 @@ int slsDetector::getReceiverCurrentFrameIndex() { int slsDetector::resetFramesCaught() { FILE_LOG(logDEBUG1) << "Reset Frames Caught by Receiver"; if (shm()->rxOnlineFlag == ONLINE_FLAG) { - return sendToDetector(F_RESET_RECEIVER_FRAMES_CAUGHT); + return sendToReceiver(F_RESET_RECEIVER_FRAMES_CAUGHT); } return FAIL; }