diff options
Diffstat (limited to 'lib/lufa/Bootloaders/DFU/Descriptors.h')
-rw-r--r-- | lib/lufa/Bootloaders/DFU/Descriptors.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/lufa/Bootloaders/DFU/Descriptors.h b/lib/lufa/Bootloaders/DFU/Descriptors.h index 5487f88f35..7137d0f118 100644 --- a/lib/lufa/Bootloaders/DFU/Descriptors.h +++ b/lib/lufa/Bootloaders/DFU/Descriptors.h @@ -189,6 +189,12 @@ 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 |