Add missing <math.h> include for the UC3 devices, hide CDC class driver stream functi...
[pub/USBasp.git] / Demos / Device / Incomplete / TestAndMeasurement / Descriptors.h
index 0d352bc..e45654a 100644 (file)
@@ -7,7 +7,7 @@
 */\r
 \r
 /*\r
-  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
   Copyright 2010  Peter Lawrence (majbthrd [at] gmail [dot] com)\r
 \r
   Permission to use, copy, modify, distribute, and sell this \r
                #include <LUFA/Drivers/USB/USB.h>\r
 \r
        /* Macros: */\r
-               /** Endpoint number of the TMC notification IN endpoint. */\r
-               #define TMC_NOTIFICATION_EPNUM  2       \r
+               /** Endpoint address of the TMC notification IN endpoint. */\r
+               #define TMC_NOTIFICATION_EPADDR  (ENDPOINT_DIR_IN  | 2)\r
 \r
-               /** Endpoint number of the TMC device-to-host data IN endpoint. */\r
-               #define TMC_IN_EPNUM            3       \r
+               /** Endpoint address of the TMC device-to-host data IN endpoint. */\r
+               #define TMC_IN_EPADDR            (ENDPOINT_DIR_IN  | 3)\r
 \r
-               /** Endpoint number of the TMC host-to-device data OUT endpoint. */\r
-               #define TMC_OUT_EPNUM           4       \r
+               /** Endpoint address of the TMC host-to-device data OUT endpoint. */\r
+               #define TMC_OUT_EPADDR           (ENDPOINT_DIR_OUT | 4)\r
 \r
                /** Size in bytes of the TMC data endpoints. */\r
-               #define TMC_IO_EPSIZE           64\r
+               #define TMC_IO_EPSIZE            64\r
 \r
                /** Size in bytes of the TMC notification endpoint. */\r
-               #define TMC_NOTIFICATION_EPSIZE 8\r
+               #define TMC_NOTIFICATION_EPSIZE  8\r
 \r
        /* Type Defines: */\r
                /** Type define for the device configuration descriptor structure. This must be defined in the\r