diff options
| author | Joel Challis <git@zvecr.com> | 2019-10-05 16:57:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-05 16:57:00 +0100 |
| commit | 38aefaf78e3d9f17ef561f031679a02c9fba869c (patch) | |
| tree | 9de5fc423f20d27daedeee0500faad57ce8712a2 /tmk_core | |
| parent | 60b2a9a5ea88321629e970e936652cc1ba786b80 (diff) | |
| download | qmk_firmware-38aefaf78e3d9f17ef561f031679a02c9fba869c.tar.gz qmk_firmware-38aefaf78e3d9f17ef561f031679a02c9fba869c.zip | |
ARM - Initial backlight support (#6487)
* Move AVR backlight to own file, add borrowed ARM implementation
* Tiny fix for backlight custom logic
* Remove duplicate board from rebase
* Fix f303 onekey example
* clang-format
* clang-format
* Remove backlight keymap debug
* Initial pass of ARM backlight docs
* Initial pass of ARM backlight docs - resolve todos
* fix rules validation logic
* Add f072 warning
* Add f072 warning
* tidy up breathing in backlight keymap
* tidy up breathing in backlight keymap
* add missing break to backlight keymap
Diffstat (limited to 'tmk_core')
| -rw-r--r-- | tmk_core/common/backlight.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/common/backlight.h b/tmk_core/common/backlight.h index bb1f897ee..1e581055d 100644 --- a/tmk_core/common/backlight.h +++ b/tmk_core/common/backlight.h | |||
| @@ -26,6 +26,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | # error "Maximum value of BACKLIGHT_LEVELS is 31" | 26 | # error "Maximum value of BACKLIGHT_LEVELS is 31" |
| 27 | #endif | 27 | #endif |
| 28 | 28 | ||
| 29 | #ifndef BREATHING_PERIOD | ||
| 30 | # define BREATHING_PERIOD 6 | ||
| 31 | #endif | ||
| 32 | |||
| 29 | typedef union { | 33 | typedef union { |
| 30 | uint8_t raw; | 34 | uint8_t raw; |
| 31 | struct { | 35 | struct { |
