Fix doc comment
This commit is contained in:
parent
8601eff170
commit
412e5bd034
@ -84,8 +84,8 @@ namespace bluetooth {
|
||||
/**
|
||||
* Starts the Bluetooth UART service
|
||||
*/
|
||||
// help=bluetooth/start-uart-service
|
||||
// blockId=bluetooth_start_uart_service block="bluetooth uart service" blockGap=8
|
||||
//% help=bluetooth/start-uart-service
|
||||
//% blockId=bluetooth_start_uart_service block="bluetooth uart service" blockGap=8
|
||||
void startUartService() {
|
||||
if (uart) return;
|
||||
// 61 octet buffer size is 3 x (MTU - 3) + 1
|
||||
|
7
libs/microbit-bluetooth/shims.d.ts
vendored
7
libs/microbit-bluetooth/shims.d.ts
vendored
@ -49,6 +49,13 @@ declare namespace bluetooth {
|
||||
//% blockId=bluetooth_start_button_service block="bluetooth button service" blockGap=8 shim=bluetooth::startButtonService
|
||||
function startButtonService(): void;
|
||||
|
||||
/**
|
||||
* Starts the Bluetooth UART service
|
||||
*/
|
||||
//% help=bluetooth/start-uart-service
|
||||
//% blockId=bluetooth_start_uart_service block="bluetooth uart service" blockGap=8 shim=bluetooth::startUartService
|
||||
function startUartService(): void;
|
||||
|
||||
/**
|
||||
* Writes to the Bluetooth UART service buffer. From there the data is transmitted over Bluetooth to a connected device.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user