diff options
author | Joel Challis <git@zvecr.com> | 2021-09-15 23:18:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-16 08:18:58 +1000 |
commit | 84dba255334bd2d4f822579b1480a0cf90f42015 (patch) | |
tree | 86f705964621985c50c5acf669b777e3e9204a3d /tmk_core/common/chibios | |
parent | 58d72ad7950287d51a99814221962e5459709389 (diff) | |
download | qmk_firmware-84dba255334bd2d4f822579b1480a0cf90f42015.tar.gz qmk_firmware-84dba255334bd2d4f822579b1480a0cf90f42015.zip |
Make ChibiOS PAL interactions less STM32 specific - Round 2 (#14456)
Diffstat (limited to 'tmk_core/common/chibios')
-rw-r--r-- | tmk_core/common/chibios/chibios_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/common/chibios/chibios_config.h b/tmk_core/common/chibios/chibios_config.h index 6a57d889bb..c35f589557 100644 --- a/tmk_core/common/chibios/chibios_config.h +++ b/tmk_core/common/chibios/chibios_config.h @@ -28,6 +28,8 @@ # define PAL_MODE_ALTERNATE_OPENDRAIN PAL_MODE_STM32_ALTERNATE_OPENDRAIN # define PAL_MODE_ALTERNATE_PUSHPULL PAL_MODE_STM32_ALTERNATE_PUSHPULL # else +# define PAL_OUTPUT_TYPE_OPENDRAIN PAL_STM32_OTYPE_OPENDRAIN +# define PAL_OUTPUT_TYPE_PUSHPULL PAL_STM32_OTYPE_PUSHPULL # define PAL_OUTPUT_SPEED_HIGHEST PAL_STM32_OSPEED_HIGHEST # define PAL_PUPDR_FLOATING PAL_STM32_PUPDR_FLOATING # endif |