summaryrefslogtreecommitdiff
path: root/keyboards/dtisaac/dosa40rgb/keymaps/default
diff options
context:
space:
mode:
authorDao Tak Isaac <daotran0940@gmail.com>2021-11-29 15:21:29 +0700
committerGitHub <noreply@github.com>2021-11-29 00:21:29 -0800
commitbcf2632a29059b5ca71dec19e3ad96c7637ac9ff (patch)
tree8508cde841a33a3c3b47fc8909d65e99b7e616c6 /keyboards/dtisaac/dosa40rgb/keymaps/default
parentb12acfb630f540712eff36b8ce0908524676fdd8 (diff)
[Keyboard] Add define GPIO into Dosa40RGB (#15252)
Co-authored-by: NOOB Maker <93704375+noobmakers@users.noreply.github.com>
Diffstat (limited to 'keyboards/dtisaac/dosa40rgb/keymaps/default')
-rw-r--r--keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c b/keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c
index 19fcb7868e..3edc5cfab7 100644
--- a/keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c
+++ b/keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c
@@ -67,3 +67,8 @@ void rgb_matrix_indicators_user(void)
rgb_matrix_set_color(22, 200, 0, 200);
}
}
+
+void keyboard_pre_init_user(void) {
+ setPinOutput(B5);
+ writePinLow(B5);
+} \ No newline at end of file