Mercurial > public > ostc4
diff Discovery/Src/tMenuEditXtra.c @ 648:ff2b393e290f
Motion detection: Enable focus after focus calibration:
In previous version the focus detection was disabled while operating menus, also for the viewport calibration entry. As result when calibrating the view, it took some time till the focus was displayed (most likely causing confusion by the diver). To avoid this the suspension is now stopped when the view is calibrated => OSTC will enter focus mode using the new value
author | Ideenmodellierer |
---|---|
date | Mon, 19 Apr 2021 20:14:20 +0200 |
parents | 531e7818b737 |
children | 890440ab993a |
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditXtra.c Tue Apr 13 19:25:41 2021 +0200 +++ b/Discovery/Src/tMenuEditXtra.c Mon Apr 19 20:14:20 2021 +0200 @@ -111,6 +111,7 @@ void openEdit_CalibViewport(void) { calibrateViewport(stateUsed->lifeData.compass_roll, stateUsed->lifeData.compass_pitch, stateUsed->lifeData.compass_heading); + suspendMotionDetection(0); /* exit to focus mode directly */ exitMenuEdit_to_Home(); }