From bd5316eda074fc92da9cae1c1046249e4a753d33 Mon Sep 17 00:00:00 2001 From: andrew Date: Mon, 27 Dec 2010 07:09:06 +0000 Subject: [PATCH] Change to ignore the uninitialised state of a system alarm. This is in preparation for a future change. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2293 ebee16cc-31ac-478f-84a7-5cbb03baadba --- ground/src/plugins/systemhealth/systemhealthgadgetwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ground/src/plugins/systemhealth/systemhealthgadgetwidget.cpp b/ground/src/plugins/systemhealth/systemhealthgadgetwidget.cpp index 736108b65..533693819 100644 --- a/ground/src/plugins/systemhealth/systemhealthgadgetwidget.cpp +++ b/ground/src/plugins/systemhealth/systemhealthgadgetwidget.cpp @@ -91,7 +91,7 @@ void SystemHealthGadgetWidget::updateAlarms(UAVObject* systemAlarm) matrix.translate(startX,startY); ind->setTransform(matrix,false); } else { - qDebug() << "Warning: element " << element2 << " not found in SVG."; + if (value.compare("Uninitialised")!=0)qDebug() << "Warning: element " << element2 << " not found in SVG."; } } else { qDebug() << "Warning: Element " << element << " not found in SVG.";