mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Issue #37 Reset FPS counter when network is connected
This commit is contained in:
@@ -607,6 +607,14 @@ namespace XSwiftBus
|
||||
sendDBusMessage(reply);
|
||||
});
|
||||
}
|
||||
else if (message.getMethodName() == "resetFrameTotals")
|
||||
{
|
||||
maybeSendEmptyDBusReply(wantsReply, sender, serial);
|
||||
queueDBusCall([=]()
|
||||
{
|
||||
resetFrameTotals();
|
||||
});
|
||||
}
|
||||
else if (message.getMethodName() == "getLatitudeDeg")
|
||||
{
|
||||
queueDBusCall([ = ]()
|
||||
|
||||
Reference in New Issue
Block a user