Fix incorrect compiler error message when F_CLOCK is not defined by the user (thanks...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / CDC.h
index 8ed0cf6..055859e 100644 (file)
@@ -41,7 +41,7 @@
  *  Ports, for both Device and Host USB modes. User applications can use this class driver instead of implementing the\r
  *  CDC class manually via 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 CDC Class.\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/CDC.h"\r
                #endif\r