Reduce error level of warnings about monitors having Function==NONE

This commit is contained in:
Isaac Connor committed 2020-11-25 09:53:06 -05:00
1 parent e0a30ab5e0
commit d6345d32fd
1 file changed
+3 -2
+3 -2
View File
@@ -52,8 +52,9 @@ bool StreamBase::loadMonitor(int p_monitor_id) {
Error("Unable to load monitor id %d for streaming", monitor_id);
return false;
}
if ( monitor->GetFunction() == Monitor::NONE ) {
Error("Monitor %d has function NONE. Will not be able to connect to it.", monitor_id);
Info("Monitor %d has function NONE. Will not be able to connect to it.", monitor_id);
return false;
}
@@ -71,7 +72,7 @@ bool StreamBase::checkInitialised() {
return false;
}
if ( monitor->GetFunction() == Monitor::NONE ) {
Error("Monitor %d has function NONE. Will not be able to connect to it.", monitor_id);
Info("Monitor %d has function NONE. Will not be able to connect to it.", monitor_id);
return false;
}
if ( !monitor->ShmValid() ) {