diff options
author | Joel Challis <git@zvecr.com> | 2021-10-20 20:07:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-20 20:07:40 +0100 |
commit | 84d5198ef9b4106fe61530211b5b5bb1a2fc52c8 (patch) | |
tree | bcb35e8dbd2fab837fbe19b2dadd0e5df2d2e39a /keyboards/kapcave | |
parent | 1fb2a0c74e926806f58fdbec990ca9aa7bb376a9 (diff) | |
download | qmk_firmware-84d5198ef9b4106fe61530211b5b5bb1a2fc52c8.tar.gz qmk_firmware-84d5198ef9b4106fe61530211b5b5bb1a2fc52c8.zip |
Align PS/2 GPIO defines (#14745)
* Align PS/2 GPIO
* Align PS/2 GPIO
* refactor more keyboards
* Remove more defines
* Put back avr/chibios split
* format
Diffstat (limited to 'keyboards/kapcave')
-rwxr-xr-x | keyboards/kapcave/paladin64/config.h | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/keyboards/kapcave/paladin64/config.h b/keyboards/kapcave/paladin64/config.h index 2685be96cf..7c3d1a0fa1 100755 --- a/keyboards/kapcave/paladin64/config.h +++ b/keyboards/kapcave/paladin64/config.h @@ -34,14 +34,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* Only required if you add in a trackpoint hardware to the pcb */ #ifdef PS2_USE_USART - #define PS2_CLOCK_PORT PORTD - #define PS2_CLOCK_PIN PIND - #define PS2_CLOCK_DDR DDRD - #define PS2_CLOCK_BIT 5 - #define PS2_DATA_PORT PORTD - #define PS2_DATA_PIN PIND - #define PS2_DATA_DDR DDRD - #define PS2_DATA_BIT 2 +#define PS2_CLOCK_PIN D5 +#define PS2_DATA_PIN D2 /* synchronous, odd parity, 1-bit stop, 8-bit data, sample at falling * edge */ @@ -77,14 +71,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #endif #ifdef PS2_USE_INT -#define PS2_CLOCK_PORT PORTD -#define PS2_CLOCK_PIN PIND -#define PS2_CLOCK_DDR DDRD -#define PS2_CLOCK_BIT 2 -#define PS2_DATA_PORT PORTD -#define PS2_DATA_PIN PIND -#define PS2_DATA_DDR DDRD -#define PS2_DATA_BIT 5 +#define PS2_CLOCK_PIN D2 +#define PS2_DATA_PIN D5 #define PS2_INT_INIT() do { \ EICRA |= ((1<<ISC21) | \ |