Set serial help paths for blocks (#2159)
This commit is contained in:
parent
9eec76410a
commit
5983cfafd8
@ -194,7 +194,7 @@ namespace serial {
|
|||||||
* Sets the size of the RX buffer in bytes
|
* Sets the size of the RX buffer in bytes
|
||||||
* @param size length of the rx buffer in bytes, eg: 32
|
* @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"
|
//% blockId=serialSetRxBufferSize block="serial set rx buffer size to $size"
|
||||||
//% advanced=true
|
//% advanced=true
|
||||||
void setRxBufferSize(uint8_t size) {
|
void setRxBufferSize(uint8_t size) {
|
||||||
@ -205,7 +205,7 @@ namespace serial {
|
|||||||
* Sets the size of the TX buffer in bytes
|
* Sets the size of the TX buffer in bytes
|
||||||
* @param size length of the tx buffer in bytes, eg: 32
|
* @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"
|
//% blockId=serialSetTxBufferSize block="serial set tx buffer size to $size"
|
||||||
//% advanced=true
|
//% advanced=true
|
||||||
void setTxBufferSize(uint8_t size) {
|
void setTxBufferSize(uint8_t size) {
|
||||||
|
4
libs/core/shims.d.ts
vendored
4
libs/core/shims.d.ts
vendored
@ -869,7 +869,7 @@ declare namespace serial {
|
|||||||
* Sets the size of the RX buffer in bytes
|
* Sets the size of the RX buffer in bytes
|
||||||
* @param size length of the rx buffer in bytes, eg: 32
|
* @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"
|
//% blockId=serialSetRxBufferSize block="serial set rx buffer size to $size"
|
||||||
//% advanced=true shim=serial::setRxBufferSize
|
//% advanced=true shim=serial::setRxBufferSize
|
||||||
function setRxBufferSize(size: uint8): void;
|
function setRxBufferSize(size: uint8): void;
|
||||||
@ -878,7 +878,7 @@ declare namespace serial {
|
|||||||
* Sets the size of the TX buffer in bytes
|
* Sets the size of the TX buffer in bytes
|
||||||
* @param size length of the tx buffer in bytes, eg: 32
|
* @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"
|
//% blockId=serialSetTxBufferSize block="serial set tx buffer size to $size"
|
||||||
//% advanced=true shim=serial::setTxBufferSize
|
//% advanced=true shim=serial::setTxBufferSize
|
||||||
function setTxBufferSize(size: uint8): void;
|
function setTxBufferSize(size: uint8): void;
|
||||||
|
Loading…
Reference in New Issue
Block a user