diff options
author | QMK Bot <hello@qmk.fm> | 2021-01-11 07:03:42 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-01-11 07:03:42 +0000 |
commit | ff2bd2ee18c91d290ecabf64215a4bad5e67a168 (patch) | |
tree | d3dc040372464987783ff1bb355ee36fca19a9e8 /users | |
parent | 7464c1d3308666e04c89dfd7e19ba1e7e7f62ec6 (diff) | |
parent | 4ae5c3a90567cd793a36fea03a807e82ed85eb49 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'users')
-rw-r--r-- | users/stanrc85/rules.mk | 2 | ||||
-rw-r--r-- | users/stanrc85/startup_fanfare.c | 18 |
2 files changed, 10 insertions, 10 deletions
diff --git a/users/stanrc85/rules.mk b/users/stanrc85/rules.mk index fc2560d3a1..0c0a8dd7f6 100644 --- a/users/stanrc85/rules.mk +++ b/users/stanrc85/rules.mk @@ -20,7 +20,7 @@ ifeq ($(strip $(KEYBOARD)), projectkb/alice/rev2) endif ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone) SRC += indicator_layers_sneakbox.c - #SRC += startup_fanfare.c + SRC += startup_fanfare.c OPT_DEFS += -DHAS_INDICATORS OPT_DEFS += -DHAS_ROTARY VIA_ENABLE = yes diff --git a/users/stanrc85/startup_fanfare.c b/users/stanrc85/startup_fanfare.c index 507d9e389c..ae73261ae5 100644 --- a/users/stanrc85/startup_fanfare.c +++ b/users/stanrc85/startup_fanfare.c @@ -16,24 +16,24 @@ void matrix_scan_user(void) { counter++; if (counter == 1) { top = 1; - writePin(INDICATOR_PIN_0, !top); - wait_ms(200); + writePin(INDICATOR_PIN_0, top); + wait_ms(300); top = 0; - writePin(INDICATOR_PIN_0, !top); + writePin(INDICATOR_PIN_0, top); } if (counter == 2) { middle = 1; - writePin(INDICATOR_PIN_1, !middle); - wait_ms(200); + writePin(INDICATOR_PIN_1, middle); + wait_ms(300); middle = 0; - writePin(INDICATOR_PIN_1, !middle); + writePin(INDICATOR_PIN_1, middle); } if (counter == 3) { bottom = 1; - writePin(INDICATOR_PIN_2, !bottom); - wait_ms(200); + writePin(INDICATOR_PIN_2, bottom); + wait_ms(300); bottom = 0; - writePin(INDICATOR_PIN_2, !bottom); + writePin(INDICATOR_PIN_2, bottom); } if (counter == 4) { is_enabled = is_rgblight_startup = false; |