From bcf2632a29059b5ca71dec19e3ad96c7637ac9ff Mon Sep 17 00:00:00 2001 From: Dao Tak Isaac Date: Mon, 29 Nov 2021 15:21:29 +0700 Subject: [PATCH] [Keyboard] Add define GPIO into Dosa40RGB (#15252) Co-authored-by: NOOB Maker <93704375+noobmakers@users.noreply.github.com> --- keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c b/keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c index 19fcb7868e0..3edc5cfab73 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