diff options
author | Joel Challis <[email protected]> | 2021-06-26 11:48:48 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-26 11:48:48 +0100 |
commit | c232882fda0669e28312446feac3cadb254962e8 (patch) | |
tree | 005383b7ae7e7403a0d9cf935f666ca0f7f68aa0 /tmk_core/common/chibios | |
parent | 848da57d6e2b87b566457c49a2ed15c147e221f5 (diff) | |
download | qmk_firmware-c232882fda0669e28312446feac3cadb254962e8.tar.gz qmk_firmware-c232882fda0669e28312446feac3cadb254962e8.zip |
Allow configuration of USB_VBUS_PIN on chibios (#13342)0.13.15
Diffstat (limited to 'tmk_core/common/chibios')
-rw-r--r-- | tmk_core/common/chibios/chibios_config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tmk_core/common/chibios/chibios_config.h b/tmk_core/common/chibios/chibios_config.h index 1d8ace4955..23c65f9428 100644 --- a/tmk_core/common/chibios/chibios_config.h +++ b/tmk_core/common/chibios/chibios_config.h @@ -15,7 +15,9 @@ */ #pragma once -#define SPLIT_USB_DETECT // Force this on for now +#ifndef USB_VBUS_PIN +# define SPLIT_USB_DETECT // Force this on when dedicated pin is not used +#endif #if defined(STM32F1XX) # define USE_GPIOV1 |