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/common | |
parent | 60b2a9a5ea88321629e970e936652cc1ba786b80 (diff) |
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/common')
-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 bb1f897ee8..1e581055db 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/>. # error "Maximum value of BACKLIGHT_LEVELS is 31" #endif +#ifndef BREATHING_PERIOD +# define BREATHING_PERIOD 6 +#endif + typedef union { uint8_t raw; struct { |