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 Pete Johanson
parent db4bbbf9eb
commit 212a05feb3

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 {