diff options
| author | hathach <[email protected]> | 2022-11-21 15:49:38 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-11-21 15:49:38 +0700 |
| commit | 460bef9dbb40d1c6990c1bfd2f8da48978550932 (patch) | |
| tree | 0324f30682b7fdbac33074cd382be2bf85f1287a /examples/device/board_test/src | |
| parent | ba9f88f18c222d9e74e483340ade4a420ad49f01 (diff) | |
host msc example work well with rp2040 pio-usb
Diffstat (limited to 'examples/device/board_test/src')
| -rw-r--r-- | examples/device/board_test/src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/device/board_test/src/main.c b/examples/device/board_test/src/main.c index 74beda55f..0289ca15f 100644 --- a/examples/device/board_test/src/main.c +++ b/examples/device/board_test/src/main.c @@ -69,7 +69,7 @@ int main(void) // echo uint8_t ch; - if ( board_uart_read(&ch, 1) ) + if ( board_uart_read(&ch, 1) > 0 ) { board_uart_write(&ch, 1); } |
