refactor "gyroOff" to "gyroPause"

This commit is contained in:
TrueZhuanjia committed 2025-10-12 22:01:38 +08:00
1 parent 297f5ad7e6
commit 1cb9360d83
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -1695,7 +1695,7 @@ import UIKit
switch self.motionControlButtonString {
case "GYRO":
self.functionalButtonDelegate?.startGyroUpdate()
case "GYROOFF":
case "GYROPAUSE":
self.functionalButtonDelegate?.stopGyroUpdate(interruption:false)
case "ACCEL":
self.functionalButtonDelegate?.startAccelUpdate()
@@ -1711,7 +1711,7 @@ import UIKit
switch self.motionControlButtonString {
case "GYRO":
self.functionalButtonDelegate?.stopGyroUpdate(interruption: false)
case "GYROOFF":
case "GYROPAUSE":
self.functionalButtonDelegate?.startGyroUpdate()
case "ACCEL":
self.functionalButtonDelegate?.stopAccelUpdate(interruption: false)