Fix incorrect compiler error message when F_CLOCK is not defined by the user (thanks...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Audio.h
index c429b33..83eafcb 100644 (file)
@@ -40,7 +40,7 @@
  *  USB mode only. User applications can use this class driver instead of implementing the Audio class manually via \r
  *  the low-level LUFA APIs.\r
  *\r
- *  This module is designed to simplify the user code by exposing only the required interface needed to interace with\r
+ *  This module is designed to simplify the user code by exposing only the required interface needed to interface with\r
  *  Hosts or Devices using the USB Audio Class.\r
  *\r
  *  @{\r
 \r
        /* Includes: */\r
                #include "../HighLevel/USBMode.h"\r
+               \r
+               #if defined(NO_STREAM_CALLBACKS)\r
+                       #error The NO_STREAM_CALLBACKS compile time option cannot be used in projects using the library Class drivers.\r
+               #endif\r
 \r
                #if defined(USB_CAN_BE_DEVICE)\r
                        #include "Device/Audio.h"\r