diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2016-05-09 13:17:15 -0400 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2016-05-09 13:17:15 -0400 |
| commit | 3f02637f4dd765803671c2611191beb096d60b36 (patch) | |
| tree | c11714b62494097226253d3951de2472e7954129 /tmk_core/common/backlight.c | |
| parent | 684793360cdb08ac1e50a6d27e1796fadd527adb (diff) | |
| download | qmk_firmware-3f02637f4dd765803671c2611191beb096d60b36.tar.gz qmk_firmware-3f02637f4dd765803671c2611191beb096d60b36.zip | |
Backlight Breathing for Planck and Atomic
* Updated personal layouts
* tweaked personal
* Nightly - Audio Cleanup
Refactored the LUTs. Abstracted some of the registers out of audio to
use more functional names. Split audio into audio and audio_pwm. WIP
* nightly - collapsed code
* Added check for note playing to LEDs
* Usability tweaks
* TWEAE
* nightly
added extra kcs to keymap common
* turned on Plank audio
* Added backlight breathing to atomic
* reverted accidental merge
* adds backlight pulse to planck
Diffstat (limited to 'tmk_core/common/backlight.c')
| -rw-r--r-- | tmk_core/common/backlight.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tmk_core/common/backlight.c b/tmk_core/common/backlight.c index 2f6fc1cd6..c9e8fd3fd 100644 --- a/tmk_core/common/backlight.c +++ b/tmk_core/common/backlight.c | |||
| @@ -83,3 +83,8 @@ void backlight_level(uint8_t level) | |||
| 83 | eeconfig_update_backlight(backlight_config.raw); | 83 | eeconfig_update_backlight(backlight_config.raw); |
| 84 | backlight_set(backlight_config.level); | 84 | backlight_set(backlight_config.level); |
| 85 | } | 85 | } |
| 86 | |||
| 87 | uint8_t get_backlight_level(void) | ||
| 88 | { | ||
| 89 | return backlight_config.level; | ||
| 90 | } \ No newline at end of file | ||
