From 558fe18dfeacc9f4571a14318310e4ca8837be26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Tue, 9 Feb 2021 11:00:28 +0100 Subject: [PATCH] sitl: add 'commander takeoff' to history --- platforms/posix/src/px4/common/px4_daemon/pxh.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platforms/posix/src/px4/common/px4_daemon/pxh.cpp b/platforms/posix/src/px4/common/px4_daemon/pxh.cpp index 8858934fe6..82d8021a3a 100644 --- a/platforms/posix/src/px4/common/px4_daemon/pxh.cpp +++ b/platforms/posix/src/px4/common/px4_daemon/pxh.cpp @@ -57,6 +57,8 @@ apps_map_type Pxh::_apps = {}; Pxh::Pxh() { + _history.try_to_add("commander takeoff"); // for convenience + _history.reset_to_end(); _instance = this; }