Make it possible to elide HID shortname setting by pre-defining the relevant macro

pull/1090/head
Jesse Vincent 3 years ago
parent 14f2ef8c3e
commit 5a566d6ecf
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -26,7 +26,11 @@
* this workaround.
*/
#ifndef _INIT_HID_GETSHORTNAME
#define _INIT_HID_GETSHORTNAME __NL__ \
uint8_t HID_::getShortName(char *name) { __NL__ \
return Kaleidoscope.device().getShortName(name); __NL__ \
}
#endif

Loading…
Cancel
Save