Merge pull request #172 from gingemonster/patch-1

updated setPull help annotation
This commit is contained in:
Peli de Halleux 2016-07-21 11:10:15 -07:00 committed by GitHub
commit 56f6a2fa56

View File

@ -229,7 +229,7 @@ namespace pins {
* @param name pin to set the pull mode on
* @param pull one of the mbed pull configurations: PullUp, PullDown, PullNone
*/
//% help=pins/digital-set-pull weight=3
//% help=pins/set-pull weight=3
//% blockId=device_set_pull block="set pull|pin %pin|to %pull"
void setPull(DigitalPin name, PinPullMode pull) {
PinMode m = pull == PinPullMode::PullDown