From b4ea7b5211cb3fcf515bd64be5c5c59691236ad1 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 3 Dec 2018 11:34:23 +0100 Subject: lms: Destroy streams on device stop They are recreated during start(). Actually, if they are not stopped here, during start() after stop(), LMS_SetupStream() will fail because it will detect the streams are already opened. Change-Id: I70d47c287aabdabc5dc1304a942d130aeb10bdc5 --- Transceiver52M/device/lms/LMSDevice.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Transceiver52M/device/lms/LMSDevice.cpp') diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp index cb5e31d..2ceca0d 100644 --- a/Transceiver52M/device/lms/LMSDevice.cpp +++ b/Transceiver52M/device/lms/LMSDevice.cpp @@ -277,7 +277,11 @@ bool LMSDevice::stop() for (i=0; i