diff options
author | Joel Challis <git@zvecr.com> | 2022-08-03 21:06:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-03 21:06:54 +0100 |
commit | 92bcbee22615114286916bbbc4df4256c2818f0d (patch) | |
tree | aeb1e6eb45166d73d9c0b758786ca0e28355c102 /keyboards/handwired/splittest/bluepill/post_config.h | |
parent | df8a538489414b1f0c0cdcb786a76cca763ae37a (diff) |
Fix up splittest/bluepill (#17897)
Diffstat (limited to 'keyboards/handwired/splittest/bluepill/post_config.h')
-rw-r--r-- | keyboards/handwired/splittest/bluepill/post_config.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/keyboards/handwired/splittest/bluepill/post_config.h b/keyboards/handwired/splittest/bluepill/post_config.h index b866805a64..be9dd398ff 100644 --- a/keyboards/handwired/splittest/bluepill/post_config.h +++ b/keyboards/handwired/splittest/bluepill/post_config.h @@ -1,9 +1,9 @@ +// Copyright 2022 dvermd (@dvermd) +// SPDX-License-Identifier: GPL-2.0-or-later -#if defined(SPLIT_BITBANG) +#pragma once - #define SOFT_SERIAL_PIN B8 - -#elif defined(SPLIT_SERIAL_HALFDUPLEX) +#if defined(SPLIT_SERIAL_HALFDUPLEX) #if defined(USE_SDI1_ON_STANDARD_ROLE_PINS) #define SOFT_SERIAL_PIN A9 @@ -35,4 +35,9 @@ #else #error "splittest serial_fullduplex keymap is missing a configuration (USE_SDI1_ON_STANDARD_ROLE_PINS, USE_SDI1_ON_ALTERNATE_ROLE_PINS, USE_SDI2)" #endif + +#else // defined(SPLIT_BITBANG) + + #define SOFT_SERIAL_PIN B8 + #endif |