This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
teensy-core-4.1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Only auto-flush seremu when buffer contains partial packet
teensy4-core
PaulStoffregen
4 years ago
parent
0386e5d0e2
commit
2c9c826b17
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
+1
-0
teensy4/usb_seremu.c
+ 1
- 0
teensy4/usb_seremu.c
View File
@@ -312,6 +312,7 @@ void usb_seremu_flush_output(void)
static void usb_seremu_flush_callback(void)
{
if (tx_noautoflush) return;
if (tx_available == 0 || tx_available >= SEREMU_TX_SIZE) return;
tx_zero_pad();
tx_queue_transfer();
}
Write
Preview
Loading…
Cancel
Save