projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert changes made for the partial port to the AVR32 architecture.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
HighLevel
/
USBTask.h
diff --git
a/LUFA/Drivers/USB/HighLevel/USBTask.h
b/LUFA/Drivers/USB/HighLevel/USBTask.h
index
f2aa03b
..
c01b84c
100644
(file)
--- a/
LUFA/Drivers/USB/HighLevel/USBTask.h
+++ b/
LUFA/Drivers/USB/HighLevel/USBTask.h
@@
-32,15
+32,9
@@
#define __USBTASK_H__
\r
\r
/* Includes: */
\r
#define __USBTASK_H__
\r
\r
/* Includes: */
\r
- #if defined(__AVR32__)
\r
- #include <avr32/io.h>
\r
- #include <stdint.h>
\r
- #include <stdbool.h>
\r
- #elif defined(__AVR__)
\r
- #include <avr/io.h>
\r
- #include <avr/interrupt.h>
\r
- #include <stdbool.h>
\r
- #endif
\r
+ #include <avr/io.h>
\r
+ #include <avr/interrupt.h>
\r
+ #include <stdbool.h>
\r
\r
#include "../LowLevel/LowLevel.h"
\r
#include "Events.h"
\r
\r
#include "../LowLevel/LowLevel.h"
\r
#include "Events.h"
\r
@@
-63,7
+57,7
@@
\r
/* Preprocessor Checks: */
\r
#if !defined(__INCLUDE_FROM_USB_DRIVER)
\r
\r
/* Preprocessor Checks: */
\r
#if !defined(__INCLUDE_FROM_USB_DRIVER)
\r
- #error Do not include this file directly. Include LUFA/Drivers/USB
/USB
.h instead.
\r
+ #error Do not include this file directly. Include LUFA/Drivers/USB.h instead.
\r
#endif
\r
\r
/* Public Interface - May be used in end-application: */
\r
#endif
\r
\r
/* Public Interface - May be used in end-application: */
\r
@@
-87,7
+81,7
@@
extern USB_Request_Header_t USB_ControlRequest;
\r
\r
#if defined(USB_CAN_BE_HOST) || defined(__DOXYGEN__)
\r
extern USB_Request_Header_t USB_ControlRequest;
\r
\r
#if defined(USB_CAN_BE_HOST) || defined(__DOXYGEN__)
\r
- #if
(!defined(__AVR32__) || !defined(HOST_STATE_AS_GPIOR)
) || defined(__DOXYGEN__)
\r
+ #if
!defined(HOST_STATE_AS_GPIOR
) || defined(__DOXYGEN__)
\r
/** Indicates the current host state machine state. When in host mode, this indicates the state
\r
* via one of the values of the \ref USB_Host_States_t enum values.
\r
*
\r
/** Indicates the current host state machine state. When in host mode, this indicates the state
\r
* via one of the values of the \ref USB_Host_States_t enum values.
\r
*
\r
@@
-116,7
+110,7
@@
#endif
\r
\r
#if defined(USB_CAN_BE_DEVICE) || defined(__DOXYGEN__)
\r
#endif
\r
\r
#if defined(USB_CAN_BE_DEVICE) || defined(__DOXYGEN__)
\r
- #if
(defined(__AVR32__) || !defined(DEVICE_STATE_AS_GPIOR)
) || defined(__DOXYGEN__)
\r
+ #if
!defined(DEVICE_STATE_AS_GPIOR
) || defined(__DOXYGEN__)
\r
/** Indicates the current device state machine state. When in device mode, this indicates the state
\r
* via one of the values of the \ref USB_Device_States_t enum values.
\r
*
\r
/** Indicates the current device state machine state. When in device mode, this indicates the state
\r
* via one of the values of the \ref USB_Device_States_t enum values.
\r
*
\r