summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Didron <fd@librem.one>2019-12-04 16:53:47 +0900
committerFlorian Didron <fdidron@users.noreply.github.com>2019-12-06 08:20:51 +0900
commit0bd727cb19a13fbb7c871c8eb8cf6145d198587d (patch)
treee8d0b8e6725338cefd4008252ba6d71cc686a687
parent4a8aa15634209f7f0360f6f04c24a162bac8f450 (diff)
chore: renaming of the get version cmds
-rw-r--r--tmk_core/common/webusb.c2
-rw-r--r--tmk_core/common/webusb.h2
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
};