From 5983cfafd88d98492a7ec6ccea026cb9fd03a8f8 Mon Sep 17 00:00:00 2001 From: Galen Nickel Date: Fri, 7 Jun 2019 14:56:02 -0700 Subject: [PATCH] Set serial help paths for blocks (#2159) --- libs/core/serial.cpp | 4 ++-- libs/core/shims.d.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/core/serial.cpp b/libs/core/serial.cpp index 2ffef1c1..656213b7 100644 --- a/libs/core/serial.cpp +++ b/libs/core/serial.cpp @@ -194,7 +194,7 @@ namespace serial { * Sets the size of the RX buffer in bytes * @param size length of the rx buffer in bytes, eg: 32 */ - //% help=reference/serial/set-rx-buffer-size + //% help=serial/set-rx-buffer-size //% blockId=serialSetRxBufferSize block="serial set rx buffer size to $size" //% advanced=true void setRxBufferSize(uint8_t size) { @@ -205,7 +205,7 @@ namespace serial { * Sets the size of the TX buffer in bytes * @param size length of the tx buffer in bytes, eg: 32 */ - //% help=reference/serial/set-tx-buffer-size + //% help=serial/set-tx-buffer-size //% blockId=serialSetTxBufferSize block="serial set tx buffer size to $size" //% advanced=true void setTxBufferSize(uint8_t size) { diff --git a/libs/core/shims.d.ts b/libs/core/shims.d.ts index 5d370f40..1f3f114b 100644 --- a/libs/core/shims.d.ts +++ b/libs/core/shims.d.ts @@ -869,7 +869,7 @@ declare namespace serial { * Sets the size of the RX buffer in bytes * @param size length of the rx buffer in bytes, eg: 32 */ - //% help=reference/serial/set-rx-buffer-size + //% help=serial/set-rx-buffer-size //% blockId=serialSetRxBufferSize block="serial set rx buffer size to $size" //% advanced=true shim=serial::setRxBufferSize function setRxBufferSize(size: uint8): void; @@ -878,7 +878,7 @@ declare namespace serial { * Sets the size of the TX buffer in bytes * @param size length of the tx buffer in bytes, eg: 32 */ - //% help=reference/serial/set-tx-buffer-size + //% help=serial/set-tx-buffer-size //% blockId=serialSetTxBufferSize block="serial set tx buffer size to $size" //% advanced=true shim=serial::setTxBufferSize function setTxBufferSize(size: uint8): void;