From 212a05feb38d9c7c800f97c776e04bf9e21257a7 Mon Sep 17 00:00:00 2001 From: Xudong Zheng <7pkvm5aw@slicealias.com> Date: Thu, 23 Sep 2021 20:05:50 -0400 Subject: [PATCH] fix(hog): use OR instead of AND for bitmap --- app/src/hog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/hog.c b/app/src/hog.c index cc459a7f..e8aceca3 100644 --- a/app/src/hog.c +++ b/app/src/hog.c @@ -37,7 +37,7 @@ struct hids_report { static struct hids_info info = { .version = 0x0000, .code = 0x00, - .flags = HIDS_NORMALLY_CONNECTABLE & HIDS_REMOTE_WAKE, + .flags = HIDS_NORMALLY_CONNECTABLE | HIDS_REMOTE_WAKE, }; enum {