summaryrefslogtreecommitdiff
path: root/hid/src/main.cpp
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-12-03 06:13:13 +0300
committerDevaev Maxim <[email protected]>2020-12-03 06:13:13 +0300
commita694cbd240a436bb1de8c4647977c3ae47e7c73b (patch)
tree004d5d72cf459b03b86b58c2291035791618e62c /hid/src/main.cpp
parent748900e649a3cfedaca24693577fd0d685b5ac04 (diff)
serial fixes
Diffstat (limited to 'hid/src/main.cpp')
-rw-r--r--hid/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hid/src/main.cpp b/hid/src/main.cpp
index e97bc37c..0442b448 100644
--- a/hid/src/main.cpp
+++ b/hid/src/main.cpp
@@ -255,7 +255,7 @@ static void _sendResponse(uint8_t code) {
}
uint8_t response[8] = {0};
- response[0] = PROTO::MAGIC;
+ response[0] = PROTO::MAGIC_RESP;
if (code & PROTO::PONG::OK) {
response[1] = PROTO::PONG::OK;
# ifdef HID_DYNAMIC