comparison 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
comparison
equal deleted inserted replaced
647:15f6f0b5786c 648:ff2b393e290f
109 } 109 }
110 110
111 void openEdit_CalibViewport(void) 111 void openEdit_CalibViewport(void)
112 { 112 {
113 calibrateViewport(stateUsed->lifeData.compass_roll, stateUsed->lifeData.compass_pitch, stateUsed->lifeData.compass_heading); 113 calibrateViewport(stateUsed->lifeData.compass_roll, stateUsed->lifeData.compass_pitch, stateUsed->lifeData.compass_heading);
114 suspendMotionDetection(0); /* exit to focus mode directly */
114 exitMenuEdit_to_Home(); 115 exitMenuEdit_to_Home();
115 } 116 }
116 117
117 void refresh_CompassHeading(void) 118 void refresh_CompassHeading(void)
118 { 119 {