diff options
| author | Joel Challis <git@zvecr.com> | 2020-03-06 12:49:45 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-06 12:49:45 +0000 |
| commit | 918a85d342aa608deac1650ddd0692dd1717c5e3 (patch) | |
| tree | 6de4d888cd8b6dba52ebf2fd82125e79762ad1a6 /quantum/backlight/backlight_arm.c | |
| parent | 116c0e44a1a4999c54019e48337c0e6b92a710f8 (diff) | |
| download | qmk_firmware-918a85d342aa608deac1650ddd0692dd1717c5e3.tar.gz qmk_firmware-918a85d342aa608deac1650ddd0692dd1717c5e3.zip | |
Refactor more backlight to a common location (#8292)
* Refactor more backlight to a common location
* BACKLIGHT_PIN not defined for custom backlight
* align function names
Diffstat (limited to 'quantum/backlight/backlight_arm.c')
| -rw-r--r-- | quantum/backlight/backlight_arm.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/quantum/backlight/backlight_arm.c b/quantum/backlight/backlight_arm.c index 397a1ac1a..a6d38a1a0 100644 --- a/quantum/backlight/backlight_arm.c +++ b/quantum/backlight/backlight_arm.c | |||
| @@ -158,13 +158,6 @@ void breathing_self_disable(void) { | |||
| 158 | breathing_halt = BREATHING_HALT_ON; | 158 | breathing_halt = BREATHING_HALT_ON; |
| 159 | } | 159 | } |
| 160 | 160 | ||
| 161 | void breathing_toggle(void) { | ||
| 162 | if (is_breathing()) | ||
| 163 | breathing_disable(); | ||
| 164 | else | ||
| 165 | breathing_enable(); | ||
| 166 | } | ||
| 167 | |||
| 168 | /* To generate breathing curve in python: | 161 | /* To generate breathing curve in python: |
| 169 | * from math import sin, pi; [int(sin(x/128.0*pi)**4*255) for x in range(128)] | 162 | * from math import sin, pi; [int(sin(x/128.0*pi)**4*255) for x in range(128)] |
| 170 | */ | 163 | */ |
