summaryrefslogtreecommitdiffstats
path: root/keyboards/crkbd/rev1/serial_config.h
diff options
context:
space:
mode:
authorKosuke Adachi <ks@fstn.jp>2018-11-04 19:46:26 +0100
committerDrashna Jaelre <drashna@live.com>2018-11-04 19:46:26 +0100
commit756d92c1a071b6c481b67a44671308fc9d680afe (patch)
treeda31f7ef36eb2566ab6eca7af2932cd4377f70ed /keyboards/crkbd/rev1/serial_config.h
parente9fd42df71ebc367fccbbf918a1794498aa57914 (diff)
downloadqmk_firmware-756d92c1a071b6c481b67a44671308fc9d680afe.tar.gz
qmk_firmware-756d92c1a071b6c481b67a44671308fc9d680afe.tar.xz
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.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/keyboards/crkbd/rev1/serial_config.h b/keyboards/crkbd/rev1/serial_config.h
index 671ed821d..4fab8e8dd 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