fix(hog): use OR instead of AND for bitmap

This commit is contained in:
Xudong Zheng 2021-09-23 20:05:50 -04:00 committed by Felix Sargent
parent 2cd284ecd8
commit 192871b657

View file

@ -37,7 +37,7 @@ struct hids_report {
static struct hids_info info = { static struct hids_info info = {
.version = 0x0000, .version = 0x0000,
.code = 0x00, .code = 0x00,
.flags = HIDS_NORMALLY_CONNECTABLE & HIDS_REMOTE_WAKE, .flags = HIDS_NORMALLY_CONNECTABLE | HIDS_REMOTE_WAKE,
}; };
enum { enum {