projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove serial driver use from the AVRISP project now that it is no longer needed.
[pub/USBasp.git]
/
Bootloaders
/
TeensyHID
/
TeensyHID.h
diff --git
a/Bootloaders/TeensyHID/TeensyHID.h
b/Bootloaders/TeensyHID/TeensyHID.h
index
0dd5852
..
fe94b11
100644
(file)
--- a/
Bootloaders/TeensyHID/TeensyHID.h
+++ b/
Bootloaders/TeensyHID/TeensyHID.h
@@
-47,22
+47,19
@@
\r
#include "Descriptors.h"
\r
\r
\r
#include "Descriptors.h"
\r
\r
- #include <LUFA/Version.h> // Library Version Information
\r
- #include <LUFA/Drivers/USB/USB.h> // USB Functionality
\r
+ #include <LUFA/Drivers/USB/USB.h>
\r
\r
\r
- /* Preprocessor Checks: */
\r
- #if !defined(__AVR_AT90USB162__)
\r
- #error This bootloader is not compatible with the selected AVR model.
\r
- #endif
\r
-
\r
/* Macros: */
\r
/** HID Class specific request to send the next HID report to the device. */
\r
#define REQ_SetReport 0x09
\r
\r
/* Macros: */
\r
/** HID Class specific request to send the next HID report to the device. */
\r
#define REQ_SetReport 0x09
\r
\r
+ /** Teensy Bootloader special address to start the user application */
\r
#define TEENSY_STARTAPPLICATION 0xFFFF
\r
\r
/* Function Prototypes: */
\r
#define TEENSY_STARTAPPLICATION 0xFFFF
\r
\r
/* Function Prototypes: */
\r
- void EVENT_USB_ConfigurationChanged(void);
\r
- void EVENT_USB_UnhandledControlPacket(void);
\r
+ void SetupHardware(void);
\r
+
\r
+ void EVENT_USB_Device_ConfigurationChanged(void);
\r
+ void EVENT_USB_Device_UnhandledControlRequest(void);
\r
\r
#endif
\r
\r
#endif
\r