fixing help for pins.pulseDuration

Help document at https://codethemicrobit.com/reference/pins/pulse-duration doesnt match the help annotation in the code so this fixes it
This commit is contained in:
gingemonster 2016-07-20 06:29:44 +01:00 committed by GitHub
parent 943c2e7716
commit c805d67cf6

View File

@ -159,7 +159,7 @@ namespace pins {
/**
* Gets the duration of the last pulse in micro-seconds. This function should be called from a ``onPulsed`` handler.
*/
//% help=pins/pulse-micros
//% help=pins/pulse-duration
//% blockId=pins_pulse_duration block="pulse duration (µs)"
//% weight=21
int pulseDuration() {