Skip to content

Commit

Permalink
modify default english error
Browse files Browse the repository at this point in the history
  • Loading branch information
demoCrash committed Nov 14, 2018
1 parent 524e23d commit 3bb6b2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ovobot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ namespace ovobot {
* @param speed 前进速度, speed.min=0 speed.max=255 eg: 80
* @param duration 运动时间(单位:秒),duration.min=0 duration.max=999999 eg:3000
*/
//% blockId=move_robot block="move direction|%movedir |at speed %speed |duration (ms) duration%"
//% blockId=move_robot block="move direction|%movedir |at speed %speed |duration (ms) %duration"
//% weight=95
export function move(movedir: MoveDir, speed: number, duration: number) {
while (!gyroWorked) {
Expand Down Expand Up @@ -535,7 +535,7 @@ namespace ovobot {
* @param angle 旋转角度, eg: 90
* @param duration 旋转时间,eg:1000
*/
//% blockId=rotate_robot block="rotate angle|%angle |duration (ms) duration%"
//% blockId=rotate_robot block="rotate angle|%angle |duration (ms) %duration"
//% weight=70
export function rotate(angle: number, duration: number) {
while (!gyroWorked) {
Expand Down

0 comments on commit 3bb6b2c

Please sign in to comment.