Unverified Commit b1e59da0 authored by Dean Camera's avatar Dean Camera Committed by GitHub
Browse files

Merge pull request #121 from NicoHood/internalserial

Allow user override of the USE_INTERNAL_SERIAL serial number string index (thanks to Nicohood).
parents d6a528f9 e1cf5fc2
......@@ -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.
......
......@@ -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.
......
......@@ -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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment