diff options
author | László Monda <laci@monda.hu> | 2013-10-06 22:16:20 +0200 |
---|---|---|
committer | László Monda <laci@monda.hu> | 2013-10-06 22:16:20 +0200 |
commit | 9ef29ea2293dde7225360fe258224d22d3a68756 (patch) | |
tree | 8b97bebc31be97f73384a605ccc2f41b2a04d492 /Demos/Device/ClassDriver/AudioOutput/AudioOutput.c | |
parent | cd3aae87daa243413413ab9fc4e32c225c3bea03 (diff) | |
download | lufa-9ef29ea2293dde7225360fe258224d22d3a68756.tar.gz lufa-9ef29ea2293dde7225360fe258224d22d3a68756.tar.bz2 lufa-9ef29ea2293dde7225360fe258224d22d3a68756.zip |
Extract interface numbers into enums.
Diffstat (limited to 'Demos/Device/ClassDriver/AudioOutput/AudioOutput.c')
-rw-r--r-- | Demos/Device/ClassDriver/AudioOutput/AudioOutput.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c b/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c index 81fd95b16..432f5e0fa 100644 --- a/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c +++ b/Demos/Device/ClassDriver/AudioOutput/AudioOutput.c @@ -44,8 +44,8 @@ USB_ClassInfo_Audio_Device_t Speaker_Audio_Interface = { .Config = { - .ControlInterfaceNumber = 0, - .StreamingInterfaceNumber = 1, + .ControlInterfaceNumber = INTERFACE_ID_AudioControl, + .StreamingInterfaceNumber = INTERFACE_ID_AudioStream, .DataOUTEndpoint = { .Address = AUDIO_STREAM_EPADDR, |