From 11a88a9d944625376ce16ed4f7f703af9b7663a4 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Wed, 13 Dec 2017 23:00:37 -0800 Subject: [PATCH] updated signatures --- libs/core/_locales/core-jsdoc-strings.json | 2 +- libs/core/output.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/core/_locales/core-jsdoc-strings.json b/libs/core/_locales/core-jsdoc-strings.json index 25e0f3b5..a496592b 100644 --- a/libs/core/_locales/core-jsdoc-strings.json +++ b/libs/core/_locales/core-jsdoc-strings.json @@ -68,7 +68,7 @@ "motors.Motor.tachoCount": "Gets motor tacho count.", "motors.Motor.turn": "Turns the motor and the follower motor by a number of rotations", "motors.Motor.turn|param|speed": "the speed from ``100`` full forward to ``-100`` full backward, eg: 50", - "motors.Motor.turn|param|turnRatio": "the ratio of power sent to the follower motor, from -200 to 200", + "motors.Motor.turn|param|turnRatio": "the ratio of power sent to the follower motor, from ``-200`` to ``200``", "motors.Motor.turn|param|unit": "the meaning of the value", "motors.Motor.turn|param|value": "the move quantity, eg: 2", "motors.stopAllMotors": "Stops all motors", diff --git a/libs/core/output.ts b/libs/core/output.ts index 4a0b5126..9b7fd2c0 100644 --- a/libs/core/output.ts +++ b/libs/core/output.ts @@ -312,7 +312,7 @@ namespace motors { * @param value the move quantity, eg: 2 * @param unit the meaning of the value * @param speed the speed from ``100`` full forward to ``-100`` full backward, eg: 50 - * @param turnRatio the ratio of power sent to the follower motor, from -200 to 200 + * @param turnRatio the ratio of power sent to the follower motor, from ``-200`` to ``200`` */ //% blockId=motorTurn block="turn `icons.motorLarge` %motor|by %value|%unit|at %speed|% turn %turnRadio" //% weight=9 blockGap=8