Ensure USE_INTERNAL_SERIAL is set to NO_DESCRIPTOR if internal serial is disabled.
[pub/USBasp.git] / LUFA / Drivers / USB / Core / UC3 / Device_UC3.h
index dde7166..4d0f703 100644 (file)
                                 *  number for the device.
                                 */
                                #ifndef USE_INTERNAL_SERIAL
-                               #define USE_INTERNAL_SERIAL             0xDC
+                                       #define USE_INTERNAL_SERIAL         0xDC
                                #endif
 
                                /** Length of the device's unique internal serial number, in bits, if present on the selected microcontroller
                                 */
                                #define INTERNAL_SERIAL_START_ADDRESS   0x80800204
                        #else
+                               #undef  USE_INTERNAL_SERIAL
                                #define USE_INTERNAL_SERIAL             NO_DESCRIPTOR
 
                                #define INTERNAL_SERIAL_LENGTH_BITS     0