aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h
diff options
context:
space:
mode:
authorNicoHood <git@nicohood.de>2018-01-22 12:06:38 +0100
committerNicoHood <git@nicohood.de>2018-01-22 12:06:38 +0100
commite1cf5fc2a617e4b642f2eef6e6c32b751d5e9227 (patch)
tree9814ad3e4ce923397cf5f7c2145f1edabd4ab5fa /LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h
parentd6a528f9a03fe338e30d93f306e0482612e02e3e (diff)
downloadlufa-e1cf5fc2a617e4b642f2eef6e6c32b751d5e9227.tar.gz
lufa-e1cf5fc2a617e4b642f2eef6e6c32b751d5e9227.tar.bz2
lufa-e1cf5fc2a617e4b642f2eef6e6c32b751d5e9227.zip
Make USE_INTERNAL_SERIAL configureable as makefile define
Diffstat (limited to 'LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h')
-rw-r--r--LUFA/Drivers/USB/Core/XMEGA/Device_XMEGA.h2
1 files changed, 2 insertions, 0 deletions
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.