mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 13:44:15 +01:00
-send usb gecko data via safe method, to prevent missing prints
as it sometimes happend before
This commit is contained in:
parent
4932949a3a
commit
2b06e90fb4
@ -29,7 +29,7 @@ static ssize_t __out_write(struct _reent *r __attribute__((unused)), int fd __at
|
|||||||
{
|
{
|
||||||
u32 level;
|
u32 level;
|
||||||
level = IRQ_Disable();
|
level = IRQ_Disable();
|
||||||
usb_sendbuffer(1, ptr, len);
|
usb_sendbuffer_safe(1, ptr, len);
|
||||||
IRQ_Restore(level);
|
IRQ_Restore(level);
|
||||||
}
|
}
|
||||||
return len;
|
return len;
|
||||||
|
Loading…
Reference in New Issue
Block a user