diff options
| author | fauxpark <fauxpark@gmail.com> | 2019-07-16 17:56:36 +1000 |
|---|---|---|
| committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-07-16 00:56:36 -0700 |
| commit | a32f7e1a25a8a200d838aa8256ffe39708fbd723 (patch) | |
| tree | b1ede8bd7ce3d6b31c7bfd83d0f23a804c8efc8f /quantum/template/avr | |
| parent | e2dfb787da2a2ba88e0e074b396a2b988e10eccf (diff) | |
| download | qmk_firmware-a32f7e1a25a8a200d838aa8256ffe39708fbd723.tar.gz qmk_firmware-a32f7e1a25a8a200d838aa8256ffe39708fbd723.zip | |
Store backlight breathing state in EEPROM (#6105)
* Store backlight breathing state in EEPROM
* Reduce backlight_config.level from 6 bits to 4 (max 15 "on" levels)
* Error out if BACKLIGHT_LEVELS is > 15
* Remove mention of default backlight pin in rules.mk template
* Remove pointless comment
Diffstat (limited to 'quantum/template/avr')
| -rw-r--r-- | quantum/template/avr/config.h | 2 | ||||
| -rw-r--r-- | quantum/template/avr/rules.mk | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/quantum/template/avr/config.h b/quantum/template/avr/config.h index 1e41a2d31..fc65bb597 100644 --- a/quantum/template/avr/config.h +++ b/quantum/template/avr/config.h | |||
| @@ -91,8 +91,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 91 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | 91 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ |
| 92 | //#define MATRIX_HAS_GHOST | 92 | //#define MATRIX_HAS_GHOST |
| 93 | 93 | ||
| 94 | /* number of backlight levels */ | ||
| 95 | |||
| 96 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 94 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 97 | #define LOCKING_SUPPORT_ENABLE | 95 | #define LOCKING_SUPPORT_ENABLE |
| 98 | /* Locking resynchronize hack */ | 96 | /* Locking resynchronize hack */ |
diff --git a/quantum/template/avr/rules.mk b/quantum/template/avr/rules.mk index bc370be03..133c9e363 100644 --- a/quantum/template/avr/rules.mk +++ b/quantum/template/avr/rules.mk | |||
| @@ -70,7 +70,7 @@ COMMAND_ENABLE = yes # Commands for debug and configuration | |||
| 70 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 70 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 71 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 71 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 72 | NKRO_ENABLE = no # USB Nkey Rollover | 72 | NKRO_ENABLE = no # USB Nkey Rollover |
| 73 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | 73 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
| 74 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 74 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
| 75 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) | 75 | MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config) |
| 76 | UNICODE_ENABLE = no # Unicode | 76 | UNICODE_ENABLE = no # Unicode |
