diff options
author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-02-25 17:03:36 -0800 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-02-25 17:03:36 -0800 |
commit | d7e3d718d0bd0225c8f2887561cd483461c0a04c (patch) | |
tree | b882630471cefdc396f80b46e222a266b9bd6490 /keyboards/1upkeyboards/1up60hse | |
parent | da5e9043061ae3baadc7922acddf15dc92bffb7b (diff) |
Some minor refactoring of boards in 1upkeyboards directory (#5236)
* use #pragma once
* get rid of code for unused indicators
* pragma once and other small fixes for consistency
* use #pragma once
* pragma once and other small fixes for consistency
* add a short blurb to the readme
* turn on compiler optimization flags
* remove the compiler optimization
* remove compiler optimization for super16
Diffstat (limited to 'keyboards/1upkeyboards/1up60hse')
-rw-r--r-- | keyboards/1upkeyboards/1up60hse/1up60hse.h | 4 | ||||
-rw-r--r-- | keyboards/1upkeyboards/1up60hse/rules.mk | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/1upkeyboards/1up60hse/1up60hse.h b/keyboards/1upkeyboards/1up60hse/1up60hse.h index d24bbaabf6..f1b4f5e43e 100644 --- a/keyboards/1upkeyboards/1up60hse/1up60hse.h +++ b/keyboards/1upkeyboards/1up60hse/1up60hse.h @@ -13,8 +13,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef KB_H -#define KB_H +#pragma once #include "quantum.h" @@ -36,4 +35,3 @@ { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, KC_NO, KC_NO, K3D }, \ { K40, K41, K42, KC_NO, KC_NO, K45, KC_NO, KC_NO, KC_NO, K49, K4A, K4B, KC_NO, K4D } \ } -#endif diff --git a/keyboards/1upkeyboards/1up60hse/rules.mk b/keyboards/1upkeyboards/1up60hse/rules.mk index f33e33fd9e..72e6849e04 100644 --- a/keyboards/1upkeyboards/1up60hse/rules.mk +++ b/keyboards/1upkeyboards/1up60hse/rules.mk @@ -68,5 +68,6 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID AUDIO_ENABLE = no # Audio output on port C6 FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) +EXTRAFLAGS += -flto LAYOUTS = 60_ansi |