diff options
author | Ryan <[email protected]> | 2023-05-22 13:40:34 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-05-22 04:40:34 +0100 |
commit | 595f7db3840ab8155264e948d8ad5be5f8a1d0ed (patch) | |
tree | c60dcc122ed89fc69eb15909ab3113fd9b817751 /keyboards/hhkb/jp/config.h | |
parent | 36b08d5d693b74c997a6889960d7379b44fc79b9 (diff) | |
download | qmk_firmware-595f7db3840ab8155264e948d8ad5be5f8a1d0ed.tar.gz qmk_firmware-595f7db3840ab8155264e948d8ad5be5f8a1d0ed.zip |
Remove HHKB RN42 code (#21007)
Diffstat (limited to 'keyboards/hhkb/jp/config.h')
-rw-r--r-- | keyboards/hhkb/jp/config.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/keyboards/hhkb/jp/config.h b/keyboards/hhkb/jp/config.h index 4ab0c5058c..9de64724b7 100644 --- a/keyboards/hhkb/jp/config.h +++ b/keyboards/hhkb/jp/config.h @@ -24,35 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define TAPPING_TERM 200 -#ifdef HHKB_RN42_ENABLE -// rn42 support -- acquired from the tmk repo. This is almost certainly not -// integrated with qmk in the correct way. - -#define SUART_OUT_PORT PORTD -#define SUART_OUT_BIT 0 -#define SUART_IN_PIN PIND -#define SUART_IN_BIT 1 - -#define SERIAL_UART_BAUD 115200 -#define SERIAL_UART_INIT_CUSTOM \ - /* RX interrupt, RX: enable */ \ - UCSR1B |= (1<<RXCIE1) | (1<<RXEN1); \ - /* TX interrupt, TX: enable */ \ - UCSR1B |= (0<<TXCIE1) | (1<<TXEN1); \ - /* parity: none(00), even(01), odd(11) */ \ - UCSR1C |= (0<<UPM11) | (0<<UPM10); \ - /* RTS, CTS(no flow control by hardware) */ \ - UCSR1D |= (0<<RTSEN) | (0<<CTSEN); \ - /* RTS for flow control by firmware */ \ - DDRD |= (1<<5); PORTD &= ~(1<<5); -#define SERIAL_UART_RTS_LO() do { PORTD &= ~(1<<5); } while (0) -#define SERIAL_UART_RTS_HI() do { PORTD |= (1<<5); } while (0) - -/* power control of key switch board */ -#define HHKB_POWER_SAVING - -#endif - /* * Feature disable options * These options are also useful to firmware size reduction. |