Set serial help paths for blocks (#2159)

This commit is contained in:
Galen Nickel 2019-06-07 14:56:02 -07:00 committed by GitHub
parent 9eec76410a
commit 5983cfafd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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) {

View File

@ -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;