X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/1daa5e16f9a395fb2943906a715adb35b8106988..4b1f6cac75a86874d2a15e1893cfb258b2397fb5:/LUFA/Drivers/USB/Core/USBTask.h diff --git a/LUFA/Drivers/USB/Core/USBTask.h b/LUFA/Drivers/USB/Core/USBTask.h index b5cf381aa..30231bf16 100644 --- a/LUFA/Drivers/USB/Core/USBTask.h +++ b/LUFA/Drivers/USB/Core/USBTask.h @@ -43,11 +43,11 @@ /* Includes: */ #include "../../../Common/Common.h" + #include "USBMode.h" #include "USBController.h" #include "Events.h" #include "StdRequestType.h" #include "StdDescriptors.h" - #include "USBMode.h" #if defined(USB_CAN_BE_DEVICE) #include "DeviceStandardReq.h" @@ -98,8 +98,8 @@ * the library internally. * * To reduce program size and speed up checks of this global on the AVR8 architecture, it can be - * placed into one of the AVR's GPIOR hardware registers instead of RAM by defining the - * HOST_STATE_AS_GPIOR token to a value between 0 and 2 in the project makefile and passing it to + * placed into one of the AVR's \c GPIOR hardware registers instead of RAM by defining the + * \c HOST_STATE_AS_GPIOR token to a value between 0 and 2 in the project makefile and passing it to * the compiler via the -D switch. When defined, the corresponding GPIOR register should not be used * in the user application except implicitly via the library APIs. * @@ -127,8 +127,8 @@ * (see \ref EVENT_USB_Device_Connect() and \ref EVENT_USB_Device_Disconnect() events). * * To reduce program size and speed up checks of this global on the AVR8 architecture, it can be - * placed into one of the AVR's GPIOR hardware registers instead of RAM by defining the - * DEVICE_STATE_AS_GPIOR token to a value between 0 and 2 in the project makefile and passing it to + * placed into one of the AVR's \c GPIOR hardware registers instead of RAM by defining the + * \c DEVICE_STATE_AS_GPIOR token to a value between 0 and 2 in the project makefile and passing it to * the compiler via the -D switch. When defined, the corresponding GPIOR register should not be used * in the user application except implicitly via the library APIs. * @@ -191,7 +191,7 @@ /* Macros: */ #define HOST_TASK_NONBLOCK_WAIT(Duration, NextState) MACROS{ USB_HostState = HOST_STATE_WaitForDevice; \ WaitMSRemaining = (Duration); \ - PostWaitState = (NextState); }MACROE + PostWaitState = (NextState); }MACROE #endif /* Disable C linkage for C++ Compilers: */