diff options
author | Joel Challis <git@zvecr.com> | 2019-10-05 16:57:00 +0100 |
---|---|---|
committer | Florian Didron <fdidron@users.noreply.github.com> | 2020-01-09 08:57:11 +0900 |
commit | d1dc2d5389f5405dbc57e5b5531e08c955ea8ef1 (patch) | |
tree | 3a3cb2dc612a84e60368a9f904602a629e2f9175 /quantum/backlight/backlight.h | |
parent | 9db7651e7bfb13b8e2ebbd95f4de61ea2658b1c8 (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 'quantum/backlight/backlight.h')
-rw-r--r-- | quantum/backlight/backlight.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/backlight/backlight.h b/quantum/backlight/backlight.h index bb1f897ee8..1e581055db 100644 --- a/quantum/backlight/backlight.h +++ b/quantum/backlight/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 { |