aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/nuevo_diskloader/src/USBAPI.h
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-10-25 18:56:10 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2011-10-25 18:56:10 -0400
commit89108dd2b9aa1bc533bbbdb0f1461ec0899c8d1d (patch)
tree423a8df43afb84d45a09d821bd3b06644a5500e9 /bootloaders/nuevo_diskloader/src/USBAPI.h
parent9a5c50d5864e9a18c856edb446ed2565037260e2 (diff)
progress on bootloader bug - have implemented blocking USB_Recv. avrdude makes it to flash programming address 0400 or so before hanging
Diffstat (limited to 'bootloaders/nuevo_diskloader/src/USBAPI.h')
-rw-r--r--bootloaders/nuevo_diskloader/src/USBAPI.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootloaders/nuevo_diskloader/src/USBAPI.h b/bootloaders/nuevo_diskloader/src/USBAPI.h
index ca205a1..1724ce1 100644
--- a/bootloaders/nuevo_diskloader/src/USBAPI.h
+++ b/bootloaders/nuevo_diskloader/src/USBAPI.h
@@ -74,6 +74,7 @@ int USB_RecvControl(void* d, int len);
uint8_t USB_Available(uint8_t ep);
int USB_Send(uint8_t ep, const void* data, int len); // blocking
int USB_Recv(uint8_t ep, void* data, int len); // non-blocking
+void USB_Recv_block(u8 ep, u8* dst, int len); // blocking
int USB_Recv(uint8_t ep); // non-blocking
void USB_Flush(uint8_t ep);