X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/1c7aa68596da103137bdfe20f3baa20dcf7faae2..ea5236b3e14976c1fc9b053c0a9294e8305e0a15:/LUFA/Drivers/USB/Class/Printer.h diff --git a/LUFA/Drivers/USB/Class/Printer.h b/LUFA/Drivers/USB/Class/Printer.h index b1d41fcc5..239e99893 100644 --- a/LUFA/Drivers/USB/Class/Printer.h +++ b/LUFA/Drivers/USB/Class/Printer.h @@ -42,7 +42,7 @@ * than high level raster or text functions. User applications can use this class driver instead of implementing the Printer * class manually via the low-level LUFA APIs. * - * This module is designed to simplify the user code by exposing only the required interface needed to interace with + * This module is designed to simplify the user code by exposing only the required interface needed to interface with * Devices using the USB Printer Class. * * @{ @@ -54,6 +54,10 @@ /* Includes: */ #include "../HighLevel/USBMode.h" + #if defined(NO_STREAM_CALLBACKS) + #error The NO_STREAM_CALLBACKS compile time option cannot be used in projects using the library Class drivers. + #endif + #if defined(USB_CAN_BE_HOST) #include "Host/Printer.h" #endif