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

f/keyboardio-model-100
Jesse Vincent 3 years ago
parent b73f6a7eeb
commit 414f9d3297
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