From 96865faebd4682a8207700d1f1a16925060bd3f6 Mon Sep 17 00:00:00 2001 From: Corvus Corax Date: Sun, 30 Mar 2014 16:40:42 +0200 Subject: [PATCH 1/2] fixed systemalarms throttling due to prolems over radio telemetry --- shared/uavobjectdefinition/systemalarms.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/uavobjectdefinition/systemalarms.xml b/shared/uavobjectdefinition/systemalarms.xml index d74ae5e02..d17877cd9 100644 --- a/shared/uavobjectdefinition/systemalarms.xml +++ b/shared/uavobjectdefinition/systemalarms.xml @@ -43,8 +43,8 @@ - - + + From 057563dfb2f70590c7f28b7af471a40cab5c72d0 Mon Sep 17 00:00:00 2001 From: Corvus Corax Date: Sun, 30 Mar 2014 17:47:31 +0200 Subject: [PATCH 2/2] OP-1170 re-activated accidently commented out code from commit a79efd7 --- .../openpilotgcs/src/plugins/opmap/modelmapproxy.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/ground/openpilotgcs/src/plugins/opmap/modelmapproxy.cpp b/ground/openpilotgcs/src/plugins/opmap/modelmapproxy.cpp index 73c495b34..6655351bb 100644 --- a/ground/openpilotgcs/src/plugins/opmap/modelmapproxy.cpp +++ b/ground/openpilotgcs/src/plugins/opmap/modelmapproxy.cpp @@ -292,11 +292,9 @@ void modelMapProxy::dataChanged(const QModelIndex &topLeft, const QModelIndex &b void modelMapProxy::rowsInserted(const QModelIndex &parent, int first, int last) { Q_UNUSED(parent); - Q_UNUSED(first); - Q_UNUSED(last); - /* - for (int x = first; x < last + 1; x++) { + + for (int x = first; x < last + 1; x++) { QModelIndex index; WayPointItem *item; internals::PointLatLng latlng; @@ -324,8 +322,8 @@ void modelMapProxy::rowsInserted(const QModelIndex &parent, int first, int last) } else { item = myMap->WPInsert(latlng, altitude, desc, x); } - } - */ + } + refreshOverlays(); } void modelMapProxy::deleteWayPoint(int number)