diff options
| author | Ryan <fauxpark@gmail.com> | 2021-05-27 15:21:15 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-26 22:21:15 -0700 |
| commit | 06aea834c420d5c11bbcf64d37596cb0cee9af98 (patch) | |
| tree | e76319f1d5a4ba22c38d8d899f74a348f37caae3 /tmk_core | |
| parent | e128d454206a2d0622b96d7793758ad7e6965f3d (diff) | |
| download | qmk_firmware-06aea834c420d5c11bbcf64d37596cb0cee9af98.tar.gz qmk_firmware-06aea834c420d5c11bbcf64d37596cb0cee9af98.zip | |
Backlight: add defines for default level and breathing state (#12560)
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/common/eeconfig.c | 11 | ||||
| -rw-r--r-- | tmk_core/common/eeconfig.h | 5 |
2 files changed, 0 insertions, 16 deletions
diff --git a/tmk_core/common/eeconfig.c b/tmk_core/common/eeconfig.c index 92a509217..ffa56ab56 100644 --- a/tmk_core/common/eeconfig.c +++ b/tmk_core/common/eeconfig.c | |||
| @@ -155,17 +155,6 @@ void eeconfig_update_keymap(uint16_t val) { | |||
| 155 | eeprom_update_byte(EECONFIG_KEYMAP_UPPER_BYTE, (val >> 8) & 0xFF); | 155 | eeprom_update_byte(EECONFIG_KEYMAP_UPPER_BYTE, (val >> 8) & 0xFF); |
| 156 | } | 156 | } |
| 157 | 157 | ||
| 158 | /** \brief eeconfig read backlight | ||
| 159 | * | ||
| 160 | * FIXME: needs doc | ||
| 161 | */ | ||
| 162 | uint8_t eeconfig_read_backlight(void) { return eeprom_read_byte(EECONFIG_BACKLIGHT); } | ||
| 163 | /** \brief eeconfig update backlight | ||
| 164 | * | ||
| 165 | * FIXME: needs doc | ||
| 166 | */ | ||
| 167 | void eeconfig_update_backlight(uint8_t val) { eeprom_update_byte(EECONFIG_BACKLIGHT, val); } | ||
| 168 | |||
| 169 | /** \brief eeconfig read audio | 158 | /** \brief eeconfig read audio |
| 170 | * | 159 | * |
| 171 | * FIXME: needs doc | 160 | * FIXME: needs doc |
diff --git a/tmk_core/common/eeconfig.h b/tmk_core/common/eeconfig.h index 9e18fd4e1..a88071729 100644 --- a/tmk_core/common/eeconfig.h +++ b/tmk_core/common/eeconfig.h | |||
| @@ -94,11 +94,6 @@ void eeconfig_update_default_layer(uint8_t val); | |||
| 94 | uint16_t eeconfig_read_keymap(void); | 94 | uint16_t eeconfig_read_keymap(void); |
| 95 | void eeconfig_update_keymap(uint16_t val); | 95 | void eeconfig_update_keymap(uint16_t val); |
| 96 | 96 | ||
| 97 | #ifdef BACKLIGHT_ENABLE | ||
| 98 | uint8_t eeconfig_read_backlight(void); | ||
| 99 | void eeconfig_update_backlight(uint8_t val); | ||
| 100 | #endif | ||
| 101 | |||
| 102 | #ifdef AUDIO_ENABLE | 97 | #ifdef AUDIO_ENABLE |
| 103 | uint8_t eeconfig_read_audio(void); | 98 | uint8_t eeconfig_read_audio(void); |
| 104 | void eeconfig_update_audio(uint8_t val); | 99 | void eeconfig_update_audio(uint8_t val); |
