Skip to content

Commit

Permalink
fix(vendor.viomi): Fix manual control state not being reported correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Jan 7, 2023
1 parent d2637fd commit 3fe2998
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -48,6 +48,8 @@ class ViomiManualControlCapability extends ManualControlCapability {
async enableManualControl() {
if (!this.isInManualControlMode()) {
await this.viomiMove(ViomiManualControlDirection.ENTER_EXIT);

await this.robot.pollState();
}
}

Expand All @@ -57,6 +59,8 @@ class ViomiManualControlCapability extends ManualControlCapability {
async disableManualControl() {
if (this.isInManualControlMode()) {
await this.viomiMove(ViomiManualControlDirection.ENTER_EXIT);

await this.robot.pollState();
}
}

Expand Down

0 comments on commit 3fe2998

Please sign in to comment.