diff --git a/source/gecko/gecko.c b/source/gecko/gecko.c index e8e10d5e..9801f864 100644 --- a/source/gecko/gecko.c +++ b/source/gecko/gecko.c @@ -29,7 +29,7 @@ static ssize_t __out_write(struct _reent *r __attribute__((unused)), int fd __at { u32 level; level = IRQ_Disable(); - usb_sendbuffer(1, ptr, len); + usb_sendbuffer_safe(1, ptr, len); IRQ_Restore(level); } return len;