-send usb gecko data via safe method, to prevent missing prints

as it sometimes happend before
This commit is contained in:
fix94.1 2012-08-05 19:28:54 +00:00
parent 4932949a3a
commit 2b06e90fb4

View File

@ -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;