From 7b65ee01fbcf8a24006cbf7000be5088cd428481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Sandstr=C3=B6m?= Date: Tue, 7 Apr 2020 12:27:26 +0200 Subject: [PATCH] Correct typo --- ecmcPlugin_FFT-loc/ecmcPlugin_FFTApp/src/ecmcFFT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecmcPlugin_FFT-loc/ecmcPlugin_FFTApp/src/ecmcFFT.cpp b/ecmcPlugin_FFT-loc/ecmcPlugin_FFTApp/src/ecmcFFT.cpp index 702b311..6b9167b 100644 --- a/ecmcPlugin_FFT-loc/ecmcPlugin_FFTApp/src/ecmcFFT.cpp +++ b/ecmcPlugin_FFT-loc/ecmcPlugin_FFTApp/src/ecmcFFT.cpp @@ -686,7 +686,7 @@ void ecmcFFT::initAsyn() { asynTrigg_ = asynPort_->addNewAvailParam(paramName.c_str(), // name asynParamInt32, // asyn type (uint8_t *)triggOnce_, // pointer to data - strlen(triggOnce_), // size of data + sizeof(triggOnce_), // size of data ECMC_EC_S32, // ecmc data type 0); // die if fail