revert code, may be included if decided to be helpful, but for now it would complicate merging
This commit is contained in:
9
libs/core/shims.d.ts
vendored
9
libs/core/shims.d.ts
vendored
@@ -760,15 +760,6 @@ declare namespace serial {
|
||||
//% blockId=serial_redirect block="serial|redirect to|TX %tx|RX %rx|at baud rate %rate"
|
||||
//% blockExternalInputs=1 shim=serial::redirect
|
||||
function redirect(tx: SerialPin, rx: SerialPin, rate: BaudRate): void;
|
||||
|
||||
/**
|
||||
* Reset the serial instance to use the USBTX and USBRX at the default baud rate.
|
||||
*/
|
||||
//% weight=10
|
||||
//% help=serial/reset
|
||||
//% blockId=serial_reset block="serial pin reset"
|
||||
//% blockExternalInputs=1 shim=serial::reset
|
||||
function reset(): void;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user