Fix some titles, sigs in ref docs (#2128)

* Fix some title and sigs in ref docs

* better buffer source
This commit is contained in:
Galen Nickel
2019-06-05 16:28:56 -07:00
committed by GitHub
parent 14418569d1
commit 3f106307ff
16 changed files with 53 additions and 66 deletions

View File

@ -196,7 +196,7 @@ namespace serial {
* Sets the size of the RX buffer in bytes
* @param size length of the rx buffer in bytes, eg: 32
*/
//% help=serial/set-rx-buffer-size
//% help=reference/serial/set-rx-buffer-size
void setRxBufferSize(uint8_t size) {
uBit.serial.setRxBufferSize(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=serial/set-tx-buffer-size
//% help=reference/serial/set-tx-buffer-size
void setTxBufferSize(uint8_t size) {
uBit.serial.setTxBufferSize(size);
}

View File

@ -869,14 +869,14 @@ declare namespace serial {
* Sets the size of the RX buffer in bytes
* @param size length of the rx buffer in bytes, eg: 32
*/
//% help=serial/set-rx-buffer-size shim=serial::setRxBufferSize
//% help=reference/serial/set-rx-buffer-size shim=serial::setRxBufferSize
function setRxBufferSize(size: uint8): void;
/**
* Sets the size of the TX buffer in bytes
* @param size length of the tx buffer in bytes, eg: 32
*/
//% help=serial/set-tx-buffer-size shim=serial::setTxBufferSize
//% help=reference/serial/set-tx-buffer-size shim=serial::setTxBufferSize
function setTxBufferSize(size: uint8): void;
}