diff options
author | Florian <fd@librem.one> | 2020-02-13 09:32:00 +0900 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-02-26 10:15:12 +0900 |
commit | 65edbc6261ed732dcac3b6f6b3950015eab0934b (patch) | |
tree | effec3d72669eb7cef10c911a2bf97a36bc36fdf | |
parent | 5bf407c8e97c2099baf2f7e15f2947a23f23d4f0 (diff) |
feat: disable webusb popup by default
-rw-r--r-- | tmk_core/protocol/webusb_descriptor.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tmk_core/protocol/webusb_descriptor.h b/tmk_core/protocol/webusb_descriptor.h index a2385b8c05..a293e5ebb6 100644 --- a/tmk_core/protocol/webusb_descriptor.h +++ b/tmk_core/protocol/webusb_descriptor.h @@ -15,7 +15,9 @@ #define WEBUSB_LANDING_PAGE_PROTOCOL 1 /* 0: http 1: https forced to 1 since https is a requirement to connect over webusb */ -#define WEBUSB_LANDING_PAGE_INDEX 1 +#ifndef WEBUSB_LANDING_PAGE_INDEX +# define WEBUSB_LANDING_PAGE_INDEX 0 +#endif #define WEBUSB_VERSION VERSION_BCD(1, 0, 0) |