mirror of
https://github.com/m5stack/StackChan.git
synced 2026-04-29 11:54:22 +00:00
update firmware source code to v0.18 (#9)
This commit is contained in:
@@ -137,3 +137,13 @@ void Motion::setAutoAngleSyncEnabled(bool enabled)
|
||||
_yaw_servo->setAutoAngleSyncEnabled(enabled);
|
||||
_pitch_servo->setAutoAngleSyncEnabled(enabled);
|
||||
}
|
||||
|
||||
void Motion::setModifyLock(bool locked)
|
||||
{
|
||||
_is_modify_locked = locked;
|
||||
}
|
||||
|
||||
bool Motion::isModifyLocked()
|
||||
{
|
||||
return _is_modify_locked;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user