fixed: emulated gyro data not enabled
This commit is contained in:
@@ -1916,6 +1916,7 @@ double rc_expo(double x, double expo) {
|
|||||||
// Stop all timers to ensure a clean slate before applying the new setting.
|
// Stop all timers to ensure a clean slate before applying the new setting.
|
||||||
[self stopTimerForAllControllers];
|
[self stopTimerForAllControllers];
|
||||||
|
|
||||||
|
_gyroEnabledFlag = _gyroMode != GyroModeOff && tempSettings.emulatedControllerType.intValue == LI_CTYPE_PS;
|
||||||
switch(_gyroMode) {
|
switch(_gyroMode) {
|
||||||
case AlwaysController:
|
case AlwaysController:
|
||||||
// Activate timers only for physical controllers.
|
// Activate timers only for physical controllers.
|
||||||
|
|||||||
Reference in New Issue
Block a user