From b9eece6584577968a7bcd04249039408a68ba4be Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Fri, 21 Oct 2011 20:06:17 -0400 Subject: some progress on responding to parameter requests --- bootloaders/nuevo_diskloader/src/USBCore.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'bootloaders/nuevo_diskloader/src/USBCore.cpp') diff --git a/bootloaders/nuevo_diskloader/src/USBCore.cpp b/bootloaders/nuevo_diskloader/src/USBCore.cpp index bf6a6d9..8b7ef82 100644 --- a/bootloaders/nuevo_diskloader/src/USBCore.cpp +++ b/bootloaders/nuevo_diskloader/src/USBCore.cpp @@ -268,14 +268,14 @@ int USB_Send(u8 ep, const void* d, int len) while (len) { u8 n = USB_SendSpace(ep); - if (n == 0) - { - if (!(--timeout)) - return -1; +// if (n == 0) +// { +// if (!(--timeout)) +// return -1; // delay(1); - _delay_ms(1); - continue; - } +// _delay_ms(1); +// continue; +// } if (n > len) n = len; -- cgit v1.2.3-18-g5258