diff options
author | Stephen Huan <stephen03.huan@gmail.com> | 2020-09-19 20:30:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-19 17:30:46 -0700 |
commit | 3abb60934886289725a18c7ea96b246e70f7af3a (patch) | |
tree | c8efb7f98888ac35d63fd5643738c024e6626c96 /keyboards/dm9records/plaid/keymaps/default/keymap.c | |
parent | 6eab8a0b619b55ca612d9cf048d365b1ba442328 (diff) |
Add stephen-huan keymap and fix LED problem in the default Plaid keymap (#9306)
* change layers, add pinmode to fix LEDs
* fix LEDs by setting the pin mode
* edit README
* edit GPIO documentation, edit keymap
* add markov chain
* simplify LED logic
* undo documentation changes
* keymap changes, fix LED enum logic
Diffstat (limited to 'keyboards/dm9records/plaid/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/dm9records/plaid/keymaps/default/keymap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/dm9records/plaid/keymaps/default/keymap.c b/keyboards/dm9records/plaid/keymaps/default/keymap.c index 6a858a4a73..c5075b0e0c 100644 --- a/keyboards/dm9records/plaid/keymaps/default/keymap.c +++ b/keyboards/dm9records/plaid/keymaps/default/keymap.c @@ -214,6 +214,10 @@ led_config_t led_config; //Set leds to saved state during powerup void keyboard_post_init_user(void) { + // set LED pin modes + setPinOutput(LED_RED); + setPinOutput(LED_GREEN); + // Call the post init code. led_config.raw = eeconfig_read_user(); |