Subscription & SubscriptionArray: add forcedUpdate() methods

Can be used to immediately get & use the data, as needed for the flight
tasks.
This commit is contained in:
Beat Küng
2017-11-28 08:33:38 +01:00
parent 071b09c65d
commit 737f7df6b8
4 changed files with 28 additions and 4 deletions
@@ -76,3 +76,10 @@ void SubscriptionArray::update()
_subscriptions[i]->update();
}
}
void SubscriptionArray::forcedUpdate()
{
for (int i = 0; i < _subscriptions_count; ++i) {
_subscriptions[i]->forcedUpdate();
}
}