Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Oct 3, 2023
1 parent 4422070 commit b91abfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robot/robotdriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ namespace microcode {

if (d !== this.lastSonarValue) {
this.lastSonarValue = d
const msg = microcode.robots.RobotCompactCommand.Obstacle | d
const msg = microcode.robots.RobotCompactCommand.ObstacleState | d
microcode.robots.sendCompactCommand(msg)
this.playTone(2400 - d * 400, 200 + d * 25)
}
Expand Down

0 comments on commit b91abfe

Please sign in to comment.