diff options
Diffstat (limited to 'Demos/Device/ClassDriver/AudioOutput')
-rw-r--r-- | Demos/Device/ClassDriver/AudioOutput/AudioOutput.h | 2 | ||||
-rw-r--r-- | Demos/Device/ClassDriver/AudioOutput/Descriptors.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/ClassDriver/AudioOutput/AudioOutput.h b/Demos/Device/ClassDriver/AudioOutput/AudioOutput.h index f8d703e3f..b09fed5d8 100644 --- a/Demos/Device/ClassDriver/AudioOutput/AudioOutput.h +++ b/Demos/Device/ClassDriver/AudioOutput/AudioOutput.h @@ -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
diff --git a/Demos/Device/ClassDriver/AudioOutput/Descriptors.h b/Demos/Device/ClassDriver/AudioOutput/Descriptors.h index f007890e6..149b5ed53 100644 --- a/Demos/Device/ClassDriver/AudioOutput/Descriptors.h +++ b/Demos/Device/ClassDriver/AudioOutput/Descriptors.h @@ -43,7 +43,7 @@ #include <avr/pgmspace.h>
/* Macros: */
- #if defined(USB_FULL_CONTROLLER) || defined(__DOXYGEN__)
+ #if defined(USB_SERIES_6_AVR) || defined(USB_SERIES_7_AVR) || defined(__DOXYGEN__)
/** Endpoint number of the Audio isochronous streaming data endpoint. */
#define AUDIO_STREAM_EPNUM 1
#else
|