diff options
author | Florian Didron <fd@librem.one> | 2019-12-04 16:53:47 +0900 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2019-12-05 16:03:55 -0800 |
commit | 52e4c04afd46ac6352673b87196e52ab463b7be9 (patch) | |
tree | e8d0b8e6725338cefd4008252ba6d71cc686a687 | |
parent | 05ddbc6b6a589e5275acb86fb113c97fe2370da9 (diff) |
chore: renaming of the get version cmds
-rw-r--r-- | tmk_core/common/webusb.c | 2 | ||||
-rw-r--r-- | tmk_core/common/webusb.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/common/webusb.c b/tmk_core/common/webusb.c index f269ed58be..e11e63a9da 100644 --- a/tmk_core/common/webusb.c +++ b/tmk_core/common/webusb.c @@ -27,7 +27,7 @@ void webusb_receive(uint8_t *data, uint8_t length) { uint8_t event[2]; event[0] = WEBUSB_STATUS_OK; - event[1] = WEBUSB_EVT_LANDING_PAGE; + event[1] = WEBUSB_EVT_FW_VERSION; uint8_t stop[1]; stop[0] = WEBUSB_STOP_BIT; diff --git a/tmk_core/common/webusb.h b/tmk_core/common/webusb.h index 7696db677d..561a1f52dd 100644 --- a/tmk_core/common/webusb.h +++ b/tmk_core/common/webusb.h @@ -38,5 +38,5 @@ enum Webusb_Event_Code { WEBUSB_EVT_KEYDOWN, WEBUSB_EVT_KEYUP, WEBUSB_EVT_LAYER, - WEBUSB_EVT_LANDING_PAGE + WEBUSB_EVT_FW_VERSION }; |