mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-05-04 06:33:03 +00:00
Simplify SideShow GUID compares via a macro.
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
#include <LUFA/Drivers/USB/USB.h>
|
||||
|
||||
/* Macros: */
|
||||
#define GUID_COMPARE(a, b) (memcmp(a, b, sizeof(GUID_t)) == 0)
|
||||
|
||||
#define ARRAY_ELEMENTS(x) (sizeof(x) / sizeof(x[0]))
|
||||
|
||||
#define UNICODE_STRING_t(x) struct \
|
||||
|
||||
Reference in New Issue
Block a user