diff options
author | Drashna Jaelre <drashna@live.com> | 2019-07-03 07:36:03 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-07-03 07:55:32 -0700 |
commit | a5e62ff2517e4add49ec67c1844b93e38144ea31 (patch) | |
tree | d5e7391286399f96b97d5ad196c01ecb32728395 /Bootloaders/DFU/Descriptors.h | |
parent | 110622eaa2787cc54818083d4243653b088e5b5a (diff) | |
download | lufa-a5e62ff2517e4add49ec67c1844b93e38144ea31.tar.gz lufa-a5e62ff2517e4add49ec67c1844b93e38144ea31.tar.bz2 lufa-a5e62ff2517e4add49ec67c1844b93e38144ea31.zip |
QMK Lufa Bootloader Generation (qmk#2009)
This re-implements the code changes into QMK's LUFA repo
Diffstat (limited to 'Bootloaders/DFU/Descriptors.h')
-rw-r--r-- | Bootloaders/DFU/Descriptors.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Bootloaders/DFU/Descriptors.h b/Bootloaders/DFU/Descriptors.h index d70b477dc..40f604a1e 100644 --- a/Bootloaders/DFU/Descriptors.h +++ b/Bootloaders/DFU/Descriptors.h @@ -189,6 +189,13 @@ const uint16_t wIndex, const void** const DescriptorAddress) ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3); + + // convert to L string + #define LSTR(s) XLSTR(s) + #define XLSTR(s) L ## #s + // convert to string + #define STR(s) XSTR(s) + #define XSTR(s) #s -#endif +#endif |