summaryrefslogtreecommitdiffstats
path: root/lib/lufa/Bootloaders/DFU/Descriptors.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lufa/Bootloaders/DFU/Descriptors.h')
-rw-r--r--lib/lufa/Bootloaders/DFU/Descriptors.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/lufa/Bootloaders/DFU/Descriptors.h b/lib/lufa/Bootloaders/DFU/Descriptors.h
index 5487f88f3..7137d0f11 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