summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXudong Zheng <7pkvm5aw@slicealias.com>2021-09-23 20:05:50 -0400
committerPete Johanson <peter@peterjohanson.com>2021-09-23 20:47:40 -0400
commit212a05feb38d9c7c800f97c776e04bf9e21257a7 (patch)
tree6737969d94cec3fa3500cd5d1ef9fdf135de1b25
parentdb4bbbf9ebda2e0fc50ab57750ec4086b50a70a4 (diff)
fix(hog): use OR instead of AND for bitmap
-rw-r--r--app/src/hog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/hog.c b/app/src/hog.c
index cc459a7..e8aceca 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 {