From 65edbc6261ed732dcac3b6f6b3950015eab0934b Mon Sep 17 00:00:00 2001 From: Florian Date: Thu, 13 Feb 2020 09:32:00 +0900 Subject: feat: disable webusb popup by default --- tmk_core/protocol/webusb_descriptor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3