diff options
Diffstat (limited to 'hid')
-rw-r--r-- | hid/src/main.cpp | 2 | ||||
-rw-r--r-- | hid/src/proto.h | 1 |
2 files changed, 2 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 diff --git a/hid/src/proto.h b/hid/src/proto.h index 6b8dffe7..38462ee5 100644 --- a/hid/src/proto.h +++ b/hid/src/proto.h @@ -25,6 +25,7 @@ namespace PROTO { const uint8_t MAGIC = 0x33; + const uint8_t MAGIC_RESP = 0x34; namespace RESP { // Plain responses // const uint8_t OK = 0x20; // Legacy |