]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - lib/lufa/Bootloaders/DFU/Descriptors.h
QMK DFU bootloader generation (#2009)
[qmk_firmware.git] / lib / lufa / Bootloaders / DFU / Descriptors.h
index 5487f88f3509efb360f3a97edfe2b29b34500968..7137d0f118a1b41daea0fa63dfbb3893dde1e8a0 100644 (file)
                                                    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