From a112775ee245b667f216b20e908fb274a43db894 Mon Sep 17 00:00:00 2001 From: Rolf van Kleef Date: Fri, 27 Feb 2026 11:34:35 +0100 Subject: [PATCH] NAVTEX: Flush CSV after each message I'd like to watch for Navtex messages in an external application, though the file is only flushed whenever I restart SDRAngel or change the CSV writing settings. I'd like it to write out after each message so that I can continuously watch for new messages. As such, I've added a flush after writing a message to the log file. This is not a huge burden on the filesystem as messages typically take around a minute to be received, and no less than 10 seconds. --- plugins/channelrx/demodnavtex/navtexdemod.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/channelrx/demodnavtex/navtexdemod.cpp b/plugins/channelrx/demodnavtex/navtexdemod.cpp index 49c282233..0335635a4 100644 --- a/plugins/channelrx/demodnavtex/navtexdemod.cpp +++ b/plugins/channelrx/demodnavtex/navtexdemod.cpp @@ -217,6 +217,7 @@ bool NavtexDemod::handleMessage(const Message& cmd) << report.getErrors() << "," << report.getRSSI() << "\n"; + m_logStream.flush(); } }