From d631a77b5bc8b6cbdf8e3433d3415f1ecdf849d7 Mon Sep 17 00:00:00 2001
From: sawinglogz <3787776-sawinglogz@users.noreply.gitlab.com>
Date: Tue, 26 Oct 2021 12:30:35 -0400
Subject: [PATCH] Remove false positives from a noisy debug message.

It looks like only PRS1 uses MINOR_FLAG, and we don't care about
the CPAP_PressurePulse channel missing valuesummary.
---
 oscar/SleepLib/session.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oscar/SleepLib/session.cpp b/oscar/SleepLib/session.cpp
index b2721371..dbc6113e 100644
--- a/oscar/SleepLib/session.cpp
+++ b/oscar/SleepLib/session.cpp
@@ -1143,7 +1143,7 @@ void Session::updateCountSummary(ChannelID code)
         using namespace schema;
         Channel *ch_p = channel.channels[code];
         if (  ! ch_p->isNull() ) {                      // the channel was found in the channel list
-            if ( ((ch_p->type() & (FLAG|SPAN)) == 0) ) {  // the channel is not a flag or span type
+            if ( ((ch_p->type() & (FLAG|SPAN|MINOR_FLAG)) == 0) ) {  // the channel is not a flag or span type
                 qDebug() << "No valuesummary for channel " << ch_p->label();    // so tell about missing summary
             }
         } else {