Changed per-device controller preprocessor checks over to per-device series for better device control.
Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds.
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
#include <LUFA/Drivers/USB/Class/Device/Audio.h>
|
||||
|
||||
/* Macros: */
|
||||
#if defined(USB_FULL_CONTROLLER) || defined(USB_MODIFIED_FULL_CONTROLLER)
|
||||
#if (defined(USB_SERIES_4_AVR) || defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR))
|
||||
#define TCCRxA TCCR3A
|
||||
#define TCCRxB TCCR3B
|
||||
#define OCRxA OCR3A
|
||||
|
||||
Reference in New Issue
Block a user