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/sweet16 | |
parent | da5e9043061ae3baadc7922acddf15dc92bffb7b (diff) | |
download | qmk_firmware-d7e3d718d0bd0225c8f2887561cd483461c0a04c.tar.gz |
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/sweet16')
-rw-r--r-- | keyboards/1upkeyboards/sweet16/config.h | 4 | ||||
-rw-r--r-- | keyboards/1upkeyboards/sweet16/readme.md | 3 | ||||
-rw-r--r-- | keyboards/1upkeyboards/sweet16/rules.mk | 3 | ||||
-rw-r--r-- | keyboards/1upkeyboards/sweet16/sweet16.h | 4 |
4 files changed, 5 insertions, 9 deletions
diff --git a/keyboards/1upkeyboards/sweet16/config.h b/keyboards/1upkeyboards/sweet16/config.h index eedd3708f..b05b57740 100644 --- a/keyboards/1upkeyboards/sweet16/config.h +++ b/keyboards/1upkeyboards/sweet16/config.h @@ -1,5 +1,4 @@ -#ifndef CONFIG_H -#define CONFIG_H +#pragma once #include "config_common.h" @@ -47,4 +46,3 @@ #define RGBLIGHT_VAL_STEP 8 #endif -#endif diff --git a/keyboards/1upkeyboards/sweet16/readme.md b/keyboards/1upkeyboards/sweet16/readme.md index 3b7b1d6f0..f096a5fc9 100644 --- a/keyboards/1upkeyboards/sweet16/readme.md +++ b/keyboards/1upkeyboards/sweet16/readme.md @@ -1,5 +1,4 @@ -Sweet16 -=== +# Sweet 16 Macropad A 4x4 numpad/macro pad sold by 1up Keyboards - designed by Bishop Keyboards diff --git a/keyboards/1upkeyboards/sweet16/rules.mk b/keyboards/1upkeyboards/sweet16/rules.mk index 212e74059..e3436dc33 100644 --- a/keyboards/1upkeyboards/sweet16/rules.mk +++ b/keyboards/1upkeyboards/sweet16/rules.mk @@ -53,4 +53,5 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality AUDIO_ENABLE = no -RGBLIGHT_ENABLE = yes
\ No newline at end of file +RGBLIGHT_ENABLE = yes +EXTRAFLAGS += -flto diff --git a/keyboards/1upkeyboards/sweet16/sweet16.h b/keyboards/1upkeyboards/sweet16/sweet16.h index 879f51fae..7320ccd9e 100644 --- a/keyboards/1upkeyboards/sweet16/sweet16.h +++ b/keyboards/1upkeyboards/sweet16/sweet16.h @@ -1,5 +1,4 @@ -#ifndef KB_H -#define KB_H +#pragma once #include "quantum.h" @@ -29,4 +28,3 @@ { KC_NO, K31, K32, KC_NO } \ } -#endif |