From 0494d0591604be7e54c240c0d195a34adcf9bbc2 Mon Sep 17 00:00:00 2001 From: Zydrunas Tamosevicius Date: Tue, 12 Jun 2018 00:29:16 +0200 Subject: [PATCH] lms: fix LMS_StartStream() handling for multiple channels LMS_StartStream() (in LMSDevice::start()) was moved to separate loop. It is because LMS_SetupStream() would fail for second channel if streaming has already been started (LMS_StartStream()) for single channel configuration. Change-Id: I6704bb92864aa81417507c4ae24a22f41dc529c1 --- Transceiver52M/device/lms/LMSDevice.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp index 9c74c0aa..ad6f67bc 100644 --- a/Transceiver52M/device/lms/LMSDevice.cpp +++ b/Transceiver52M/device/lms/LMSDevice.cpp @@ -205,6 +205,7 @@ bool LMSDevice::start() unsigned int i; + /* configure the channels/streams */ for (i=0; i