projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix broken code sample section spacing in the Doxygen documentation due to a missing...
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
Core
/
USBTask.c
diff --git
a/LUFA/Drivers/USB/Core/USBTask.c
b/LUFA/Drivers/USB/Core/USBTask.c
index
3f95560
..
b0b6914
100644
(file)
--- a/
LUFA/Drivers/USB/Core/USBTask.c
+++ b/
LUFA/Drivers/USB/Core/USBTask.c
@@
-7,7
+7,7
@@
*/
/*
*/
/*
- Copyright 201
1
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-52,8
+52,10
@@
void USB_USBTask(void)
#else
if (USB_CurrentMode == USB_MODE_Device)
USB_DeviceTask();
#else
if (USB_CurrentMode == USB_MODE_Device)
USB_DeviceTask();
+ #if defined(USB_CAN_BE_HOST)
else if (USB_CurrentMode == USB_MODE_Host)
USB_HostTask();
else if (USB_CurrentMode == USB_MODE_Host)
USB_HostTask();
+ #endif
#endif
}
#endif
}