From 47c6c25d483a259d7053b3072bec3bc575553e08 Mon Sep 17 00:00:00 2001 From: laboratory10 Date: Tue, 12 Aug 2025 15:05:44 -0700 Subject: [PATCH] Prevent queue overflow if stream isn't being read --- Arduino/Drv/StreamDriver/StreamDriver.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Arduino/Drv/StreamDriver/StreamDriver.cpp b/Arduino/Drv/StreamDriver/StreamDriver.cpp index fe138ab..d943ddf 100644 --- a/Arduino/Drv/StreamDriver/StreamDriver.cpp +++ b/Arduino/Drv/StreamDriver/StreamDriver.cpp @@ -27,7 +27,8 @@ void StreamDriver::recvReturnIn_handler(FwIndexType portNum, Fw::Buffer& fwBuffe } Drv::ByteStreamStatus StreamDriver ::send_handler(const FwIndexType portNum, Fw::Buffer& serBuffer) { - return write_data(serBuffer); + (void) write_data(serBuffer); + return Drv::ByteStreamStatus::OP_OK; } void StreamDriver ::schedIn_handler(const FwIndexType portNum, U32 context) {