diff options
author | NicoHood <git@nicohood.de> | 2018-01-22 12:06:38 +0100 |
---|---|---|
committer | NicoHood <git@nicohood.de> | 2018-01-22 12:06:38 +0100 |
commit | e1cf5fc2a617e4b642f2eef6e6c32b751d5e9227 (patch) | |
tree | 9814ad3e4ce923397cf5f7c2145f1edabd4ab5fa /LUFA/Drivers/USB | |
parent | d6a528f9a03fe338e30d93f306e0482612e02e3e (diff) | |
download | lufa-e1cf5fc2a617e4b642f2eef6e6c32b751d5e9227.tar.gz lufa-e1cf5fc2a617e4b642f2eef6e6c32b751d5e9227.tar.bz2 lufa-e1cf5fc2a617e4b642f2eef6e6c32b751d5e9227.zip |
Make USE_INTERNAL_SERIAL configureable as makefile define
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r-- | LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h | 2 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Core/UC3/Device_UC3.h | 2 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h b/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h index d3c979e48..6b5c3199f 100644 --- a/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h +++ b/LUFA/Drivers/USB/Core/AVR8/Device_AVR8.h @@ -113,7 +113,9 @@ * On unsupported devices, this will evaluate to \ref NO_DESCRIPTOR and so will force the host to create a pseudo-serial * number for the device. */ + #ifndef USE_INTERNAL_SERIAL #define USE_INTERNAL_SERIAL 0xDC + #endif /** Length of the device's unique internal serial number, in bits, if present on the selected microcontroller * model. diff --git a/LUFA/Drivers/USB/Core/UC3/Device_UC3.h b/LUFA/Drivers/USB/Core/UC3/Device_UC3.h index 2abbfe0ef..dde71665f 100644 --- a/LUFA/Drivers/USB/Core/UC3/Device_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/Device_UC3.h @@ -102,7 +102,9 @@ * On unsupported devices, this will evaluate to \ref NO_DESCRIPTOR and so will force the host to create a pseudo-serial * number for the device. */ + #ifndef USE_INTERNAL_SERIAL #define USE_INTERNAL_SERIAL 0xDC + #endif /** Length of the device's unique internal serial number, in bits, if present on the selected microcontroller * model. diff --git a/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h b/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h index 6b2ea6031..526fae0c4 100644 --- a/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h +++ b/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h @@ -110,7 +110,9 @@ * On unsupported devices, this will evaluate to \ref NO_DESCRIPTOR and so will force the host to create a pseudo-serial * number for the device. */ + #ifndef USE_INTERNAL_SERIAL #define USE_INTERNAL_SERIAL 0xDC + #endif /** Length of the device's unique internal serial number, in bits, if present on the selected microcontroller * model. |