summaryrefslogtreecommitdiff
path: root/keyboards/hhkb
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-06-21 06:51:50 +1000
committerGitHub <noreply@github.com>2020-06-20 21:51:50 +0100
commit69b484600f672ef9b1368c121512d579f9b7fc98 (patch)
tree49bc0394d46fb16cfaed95779f15cfaea8ccef54 /keyboards/hhkb
parentde79d55187be24e714e1351810fa81ecad35474e (diff)
Remove more useless code (#9475)
Diffstat (limited to 'keyboards/hhkb')
-rw-r--r--keyboards/hhkb/ansi/config.h5
-rw-r--r--keyboards/hhkb/jp/config.h5
2 files changed, 0 insertions, 10 deletions
diff --git a/keyboards/hhkb/ansi/config.h b/keyboards/hhkb/ansi/config.h
index 689fd55681..53d958cc17 100644
--- a/keyboards/hhkb/ansi/config.h
+++ b/keyboards/hhkb/ansi/config.h
@@ -54,11 +54,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SUART_IN_BIT 1
#ifdef __AVR_ATmega32U4__
- /* iom32u4.h has no definition of UCSR1D. copy from iom32u2.h */
- #define UCSR1D _SFR_MEM8(0xCB)
- #define RTSEN 0
- #define CTSEN 1
-
#define SERIAL_UART_BAUD 115200
#define SERIAL_UART_DATA UDR1
#define SERIAL_UART_UBRR ((F_CPU/(16.0*SERIAL_UART_BAUD)-1+0.5))
diff --git a/keyboards/hhkb/jp/config.h b/keyboards/hhkb/jp/config.h
index 01dab6d440..9f6819b86e 100644
--- a/keyboards/hhkb/jp/config.h
+++ b/keyboards/hhkb/jp/config.h
@@ -54,11 +54,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define SUART_IN_BIT 1
#ifdef __AVR_ATmega32U4__
- /* iom32u4.h has no definition of UCSR1D. copy from iom32u2.h */
- #define UCSR1D _SFR_MEM8(0xCB)
- #define RTSEN 0
- #define CTSEN 1
-
#define SERIAL_UART_BAUD 115200
#define SERIAL_UART_DATA UDR1
#define SERIAL_UART_UBRR ((F_CPU/(16.0*SERIAL_UART_BAUD)-1+0.5))