forked from mirrors/qmk_userspace
Add flow control by firmware to serial_uart
This commit is contained in:
parent
50bcaa66c4
commit
3e7875455e
4 changed files with 30 additions and 9 deletions
|
@ -56,9 +56,7 @@ void rn42_task(void)
|
|||
// Config mode: print output from RN-42
|
||||
while ((c = serial_recv2()) != -1) {
|
||||
// without flow control it'll fail to receive data when flooded
|
||||
rn42_cts_hi();
|
||||
xprintf("%c", c);
|
||||
rn42_cts_lo();
|
||||
}
|
||||
} else {
|
||||
// Raw mode: interpret output report of LED state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue