aboutsummaryrefslogtreecommitdiff
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
parentde79d55187be24e714e1351810fa81ecad35474e (diff)
downloadqmk_firmware-69b484600f672ef9b1368c121512d579f9b7fc98.tar.gz
qmk_firmware-69b484600f672ef9b1368c121512d579f9b7fc98.zip
Remove more useless code (#9475)
-rw-r--r--keyboards/absinthe/rules.mk12
-rw-r--r--keyboards/hhkb/ansi/config.h5
-rw-r--r--keyboards/hhkb/jp/config.h5
-rw-r--r--keyboards/kingly_keys/smd_milk/2_milk.c16
-rw-r--r--keyboards/kingly_keys/smd_milk/2_milk.h26
5 files changed, 0 insertions, 64 deletions
diff --git a/keyboards/absinthe/rules.mk b/keyboards/absinthe/rules.mk
index f0b8037c9..8f534909d 100644
--- a/keyboards/absinthe/rules.mk
+++ b/keyboards/absinthe/rules.mk
@@ -11,16 +11,6 @@ MCU = atmega32u4
11# ATmega328P USBasp 11# ATmega328P USBasp
12BOOTLOADER = atmel-dfu 12BOOTLOADER = atmel-dfu
13 13
14# If you don't know the bootloader type, then you can specify the
15# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
16# Otherwise, delete this section
17# Teensy halfKay 512
18# Teensy++ halfKay 1024
19# Atmel DFU loader 4096
20# LUFA bootloader 4096
21# USBaspLoader 2048
22# OPT_DEFS += -DBOOTLOADER_SIZE=4096
23
24# Build Options 14# Build Options
25# change yes to no to disable 15# change yes to no to disable
26# 16#
@@ -39,7 +29,5 @@ MIDI_ENABLE = no # MIDI support
39BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID 29BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
40AUDIO_ENABLE = no # Audio output on port C6 30AUDIO_ENABLE = no # Audio output on port C6
41FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches 31FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
42HD44780_ENABLE = no # Enable support for HD44780 based LCDs
43ENCODER_ENABLE = yes 32ENCODER_ENABLE = yes
44RGBLIGHT_ENABLE = yes 33RGBLIGHT_ENABLE = yes
45# EXTRAFLAGS += -flto
diff --git a/keyboards/hhkb/ansi/config.h b/keyboards/hhkb/ansi/config.h
index 689fd5568..53d958cc1 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/>.
54#define SUART_IN_BIT 1 54#define SUART_IN_BIT 1
55 55
56#ifdef __AVR_ATmega32U4__ 56#ifdef __AVR_ATmega32U4__
57 /* iom32u4.h has no definition of UCSR1D. copy from iom32u2.h */
58 #define UCSR1D _SFR_MEM8(0xCB)
59 #define RTSEN 0
60 #define CTSEN 1
61
62 #define SERIAL_UART_BAUD 115200 57 #define SERIAL_UART_BAUD 115200
63 #define SERIAL_UART_DATA UDR1 58 #define SERIAL_UART_DATA UDR1
64 #define SERIAL_UART_UBRR ((F_CPU/(16.0*SERIAL_UART_BAUD)-1+0.5)) 59 #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 01dab6d44..9f6819b86 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/>.
54#define SUART_IN_BIT 1 54#define SUART_IN_BIT 1
55 55
56#ifdef __AVR_ATmega32U4__ 56#ifdef __AVR_ATmega32U4__
57 /* iom32u4.h has no definition of UCSR1D. copy from iom32u2.h */
58 #define UCSR1D _SFR_MEM8(0xCB)
59 #define RTSEN 0
60 #define CTSEN 1
61
62 #define SERIAL_UART_BAUD 115200 57 #define SERIAL_UART_BAUD 115200
63 #define SERIAL_UART_DATA UDR1 58 #define SERIAL_UART_DATA UDR1
64 #define SERIAL_UART_UBRR ((F_CPU/(16.0*SERIAL_UART_BAUD)-1+0.5)) 59 #define SERIAL_UART_UBRR ((F_CPU/(16.0*SERIAL_UART_BAUD)-1+0.5))
diff --git a/keyboards/kingly_keys/smd_milk/2_milk.c b/keyboards/kingly_keys/smd_milk/2_milk.c
deleted file mode 100644
index 95fa50e02..000000000
--- a/keyboards/kingly_keys/smd_milk/2_milk.c
+++ /dev/null
@@ -1,16 +0,0 @@
1/* Copyright 2019 Sebastian Williams
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "smd_milk.h"
diff --git a/keyboards/kingly_keys/smd_milk/2_milk.h b/keyboards/kingly_keys/smd_milk/2_milk.h
deleted file mode 100644
index 8f294817f..000000000
--- a/keyboards/kingly_keys/smd_milk/2_milk.h
+++ /dev/null
@@ -1,26 +0,0 @@
1/* Copyright 2019 Sebastian Williams
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20#define LAYOUT( \
21 K00, \
22 K01 \
23) { \
24 { K00 }, \
25 { K01 } \
26}