diff options
author | Kosuke Adachi <ks@fstn.jp> | 2018-11-05 03:46:26 +0900 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-11-04 10:46:26 -0800 |
commit | 756d92c1a071b6c481b67a44671308fc9d680afe (patch) | |
tree | da31f7ef36eb2566ab6eca7af2932cd4377f70ed /keyboards/crkbd/rev1/serial_config.h | |
parent | e9fd42df71ebc367fccbbf918a1794498aa57914 (diff) |
Keyboard: Update the serial.c of crkbd based on the helix-serial.c (#4349)
Diffstat (limited to 'keyboards/crkbd/rev1/serial_config.h')
-rw-r--r-- | keyboards/crkbd/rev1/serial_config.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/keyboards/crkbd/rev1/serial_config.h b/keyboards/crkbd/rev1/serial_config.h index 671ed821d2..4fab8e8ddf 100644 --- a/keyboards/crkbd/rev1/serial_config.h +++ b/keyboards/crkbd/rev1/serial_config.h @@ -1,10 +1,4 @@ -#pragma once - -/* Soft Serial defines */ -#define SERIAL_PIN_DDR DDRD -#define SERIAL_PIN_PORT PORTD -#define SERIAL_PIN_INPUT PIND -#define SERIAL_PIN_MASK _BV(PD2) -#define SERIAL_PIN_INTERRUPT INT2_vect - +#ifndef SOFT_SERIAL_PIN +#define SOFT_SERIAL_PIN D2 #define SERIAL_USE_MULTI_TRANSACTION +#endif |