Skip to content

Commit ae1b97a

Browse files
authored
Merge pull request #2 from HirohitoHigashi/main
Fix small mistake.
2 parents 5232133 + 307a4fc commit ae1b97a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mruby_io_UART_en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Device-specific
6969
Example of use:
7070

7171
```ruby
72-
uart1.setmode( bardrate:38400 )
72+
uart1.setmode( baudrate:38400 )
7373
```
7474

7575
---
@@ -182,7 +182,7 @@ flag = uart1.can_read_line()
182182

183183
### flush()
184184

185-
- Returns true if reading a line of data is possible.
185+
- Block until transmission of data accumulated in the transmission buffer is completed.
186186

187187
Example of use:
188188

mruby_io_UART_ja.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ uart2 = UART.new("/dev/cu.usbserial1", baud:19200, parity:UART::EVEN )
6969
実行例
7070

7171
```ruby
72-
uart1.setmode( bardrate:38400 )
72+
uart1.setmode( baudrate:38400 )
7373
```
7474

7575
---

0 commit comments

Comments
 (0)