Fix incorrect compiler error message when F_CLOCK is not defined by the user (thanks...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / StillImage.h
index 273b97a..524bb9e 100644 (file)
@@ -40,7 +40,7 @@
  *  for USB Host mode only. User applications can use this class driver instead of implementing the Still Image class\r
  *  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
  *  Devices using the USB Still Image 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_HOST)\r
                        #include "Host/StillImage.h"\r
                #endif\r