Rewritten event system to remove all macros, to make user code clearer.
authorDean Camera <dean@fourwalledcubicle.com>
Mon, 18 May 2009 10:05:21 +0000 (10:05 +0000)
committerDean Camera <dean@fourwalledcubicle.com>
Mon, 18 May 2009 10:05:21 +0000 (10:05 +0000)
commit2ee9fc707784e115d744dbc229bdc893f4bb6bc1
tree1f4de5f6d8e2a9bfe89d3263f19f9b9ebf855812
parent72c2922e38a2dfd14eb2d8e3692171704b5508f4
Rewritten event system to remove all macros, to make user code clearer.

Fixed incorrect ENDPOINT_EPNUM_MASK mask preventing endpoints above EP3 from being selected (thanks to Jonathan Oakley).

Removed STREAM_CALLBACK() macro - callbacks now use regular function definitions to clarify user code.

Removed DESCRIPTOR_COMPARATOR() macro - comparators should now use regular function definitions to clarify user code.
116 files changed:
Bootloaders/CDC/BootloaderCDC.c
Bootloaders/CDC/BootloaderCDC.h
Bootloaders/CDC/makefile
Bootloaders/DFU/BootloaderDFU.c
Bootloaders/DFU/BootloaderDFU.h
Bootloaders/DFU/makefile
Bootloaders/TeensyHID/TeensyHID.c
Bootloaders/TeensyHID/TeensyHID.h
Bootloaders/TeensyHID/makefile
Demos/Device/AudioInput/AudioInput.c
Demos/Device/AudioInput/AudioInput.h
Demos/Device/AudioInput/makefile
Demos/Device/AudioOutput/AudioOutput.c
Demos/Device/AudioOutput/AudioOutput.h
Demos/Device/AudioOutput/makefile
Demos/Device/CDC/CDC.c
Demos/Device/CDC/CDC.h
Demos/Device/CDC/makefile
Demos/Device/DualCDC/DualCDC.c
Demos/Device/DualCDC/DualCDC.h
Demos/Device/DualCDC/makefile
Demos/Device/GenericHID/GenericHID.c
Demos/Device/GenericHID/GenericHID.h
Demos/Device/GenericHID/makefile
Demos/Device/Joystick/Joystick.c
Demos/Device/Joystick/Joystick.h
Demos/Device/Joystick/makefile
Demos/Device/Keyboard/Keyboard.c
Demos/Device/Keyboard/Keyboard.h
Demos/Device/Keyboard/makefile
Demos/Device/KeyboardMouse/KeyboardMouse.c
Demos/Device/KeyboardMouse/KeyboardMouse.h
Demos/Device/KeyboardMouse/makefile
Demos/Device/MIDI/MIDI.c
Demos/Device/MIDI/MIDI.h
Demos/Device/MIDI/makefile
Demos/Device/MassStorage/MassStorage.c
Demos/Device/MassStorage/MassStorage.h
Demos/Device/MassStorage/SCSI.c
Demos/Device/MassStorage/makefile
Demos/Device/Mouse/Mouse.c
Demos/Device/Mouse/Mouse.h
Demos/Device/Mouse/makefile
Demos/Device/RNDISEthernet/RNDISEthernet.c
Demos/Device/RNDISEthernet/RNDISEthernet.h
Demos/Device/RNDISEthernet/makefile
Demos/Device/USBtoSerial/USBtoSerial.c
Demos/Device/USBtoSerial/USBtoSerial.h
Demos/Device/USBtoSerial/makefile
Demos/Host/CDCHost/CDCHost.c
Demos/Host/CDCHost/CDCHost.h
Demos/Host/CDCHost/ConfigDescriptor.c
Demos/Host/CDCHost/ConfigDescriptor.h
Demos/Host/CDCHost/makefile
Demos/Host/GenericHIDHost/ConfigDescriptor.c
Demos/Host/GenericHIDHost/ConfigDescriptor.h
Demos/Host/GenericHIDHost/GenericHIDHost.c
Demos/Host/GenericHIDHost/GenericHIDHost.h
Demos/Host/GenericHIDHost/makefile
Demos/Host/KeyboardHost/ConfigDescriptor.c
Demos/Host/KeyboardHost/ConfigDescriptor.h
Demos/Host/KeyboardHost/KeyboardHost.c
Demos/Host/KeyboardHost/KeyboardHost.h
Demos/Host/KeyboardHost/makefile
Demos/Host/KeyboardHostWithParser/ConfigDescriptor.c
Demos/Host/KeyboardHostWithParser/ConfigDescriptor.h
Demos/Host/KeyboardHostWithParser/KeyboardHostWithParser.c
Demos/Host/KeyboardHostWithParser/KeyboardHostWithParser.h
Demos/Host/KeyboardHostWithParser/makefile
Demos/Host/MassStorageHost/ConfigDescriptor.c
Demos/Host/MassStorageHost/ConfigDescriptor.h
Demos/Host/MassStorageHost/MassStorageHost.c
Demos/Host/MassStorageHost/MassStorageHost.h
Demos/Host/MassStorageHost/makefile
Demos/Host/MouseHost/ConfigDescriptor.c
Demos/Host/MouseHost/ConfigDescriptor.h
Demos/Host/MouseHost/MouseHost.c
Demos/Host/MouseHost/MouseHost.h
Demos/Host/MouseHost/makefile
Demos/Host/MouseHostWithParser/ConfigDescriptor.c
Demos/Host/MouseHostWithParser/ConfigDescriptor.h
Demos/Host/MouseHostWithParser/MouseHostWithParser.c
Demos/Host/MouseHostWithParser/MouseHostWithParser.h
Demos/Host/MouseHostWithParser/makefile
Demos/Host/StillImageHost/ConfigDescriptor.c
Demos/Host/StillImageHost/ConfigDescriptor.h
Demos/Host/StillImageHost/StillImageHost.c
Demos/Host/StillImageHost/StillImageHost.h
Demos/Host/StillImageHost/makefile
Demos/OTG/TestApp/TestEvents.c
Demos/OTG/TestApp/TestEvents.h
Demos/OTG/TestApp/makefile
LUFA/ChangeLog.txt
LUFA/Drivers/USB/Class/ConfigDescriptor.c
LUFA/Drivers/USB/Class/ConfigDescriptor.h
LUFA/Drivers/USB/HighLevel/Events.h
LUFA/Drivers/USB/HighLevel/StdDescriptors.c
LUFA/Drivers/USB/HighLevel/StdDescriptors.h
LUFA/Drivers/USB/HighLevel/StdRequestType.h
LUFA/Drivers/USB/HighLevel/StreamCallbacks.h
LUFA/Drivers/USB/HighLevel/USBInterrupt.c
LUFA/Drivers/USB/HighLevel/USBInterrupt.h
LUFA/Drivers/USB/HighLevel/USBTask.h
LUFA/Drivers/USB/LowLevel/DevChapter9.c
LUFA/Drivers/USB/LowLevel/DevChapter9.h
LUFA/Drivers/USB/LowLevel/Device.h
LUFA/Drivers/USB/LowLevel/Endpoint.h
LUFA/Drivers/USB/LowLevel/Host.c
LUFA/Drivers/USB/LowLevel/Host.h
LUFA/Drivers/USB/LowLevel/LowLevel.c
LUFA/Drivers/USB/LowLevel/LowLevel.h
LUFA/Drivers/USB/LowLevel/Pipe.h
LUFA/MigrationInformation.txt
Projects/Magstripe/Magstripe.c
Projects/Magstripe/Magstripe.h
Projects/Magstripe/makefile