diff options
| author | Joel Challis <git@zvecr.com> | 2020-01-30 23:44:40 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-31 10:44:40 +1100 |
| commit | 4139de3cc9c56a157d78e1e418893d08e3f23bde (patch) | |
| tree | c1822b9710b9bfeef43c10fc4a49d24050744558 /keyboards/amj96/config.h | |
| parent | 7514f5124ac81ce1db51eb07a287f82d6a9bf10c (diff) | |
| download | qmk_firmware-4139de3cc9c56a157d78e1e418893d08e3f23bde.tar.gz qmk_firmware-4139de3cc9c56a157d78e1e418893d08e3f23bde.zip | |
Fix AVR boards which were overriding backlight without setting… (#8044)
* Add backlight custom driver to all boards not declaring it but overriding backlight
* Apply suggestions from code review
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Apply suggestions from code review
Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Remove old tmk references from show_options.mk
Co-authored-by: fauxpark <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/amj96/config.h')
| -rw-r--r-- | keyboards/amj96/config.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/keyboards/amj96/config.h b/keyboards/amj96/config.h index 1f1be03ce..8b56aaf7f 100644 --- a/keyboards/amj96/config.h +++ b/keyboards/amj96/config.h | |||
| @@ -47,22 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 47 | /* COL2ROW, ROW2COL*/ | 47 | /* COL2ROW, ROW2COL*/ |
| 48 | #define DIODE_DIRECTION COL2ROW | 48 | #define DIODE_DIRECTION COL2ROW |
| 49 | 49 | ||
| 50 | // #define BACKLIGHT_PIN D4 | ||
| 51 | // #define BACKLIGHT_BREATHING | ||
| 52 | // #define BACKLIGHT_LEVELS 3 | ||
| 53 | |||
| 54 | /* number of backlight levels */ | ||
| 55 | #ifdef BREATHING_LED_ENABLE | ||
| 56 | #ifdef FADING_LED_ENABLE | ||
| 57 | #define BACKLIGHT_LEVELS 8 | ||
| 58 | #else | ||
| 59 | #define BACKLIGHT_LEVELS 6 | ||
| 60 | #endif | ||
| 61 | #else | ||
| 62 | #define BACKLIGHT_LEVELS 3 | ||
| 63 | #endif | ||
| 64 | #define BACKLIGHT_CUSTOM | ||
| 65 | |||
| 66 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 50 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 67 | #define DEBOUNCE 5 | 51 | #define DEBOUNCE 5 |
| 68 | 52 | ||
