X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/88051e78a281f5776538558aec113ff2b66e056c..b5ca3990c2ec9dc240fb334002ed2f7c82eea853:/Bootloaders/TeensyHID/TeensyHID.h diff --git a/Bootloaders/TeensyHID/TeensyHID.h b/Bootloaders/TeensyHID/TeensyHID.h index ae180f778..9414eec77 100644 --- a/Bootloaders/TeensyHID/TeensyHID.h +++ b/Bootloaders/TeensyHID/TeensyHID.h @@ -59,16 +59,14 @@ /** HID Class specific request to send the next HID report to the device. */ #define REQ_SetReport 0x09 + /** Teensy Bootloader special address to start the user application */ #define TEENSY_STARTAPPLICATION 0xFFFF + + /* Function Prototypes: */ + void SetupHardware(void); + void ResetHardware(void); - /* Event Handlers: */ - /** Indicates that this module will catch the USB_Disconnect event when thrown by the library. */ - HANDLES_EVENT(USB_Disconnect); - - /** Indicates that this module will catch the USB_ConfigurationChanged event when thrown by the library. */ - HANDLES_EVENT(USB_ConfigurationChanged); - - /** Indicates that this module will catch the USB_UnhandledControlPacket event when thrown by the library. */ - HANDLES_EVENT(USB_UnhandledControlPacket); + void EVENT_USB_ConfigurationChanged(void); + void EVENT_USB_UnhandledControlPacket(void); #endif