summaryrefslogtreecommitdiff
path: root/keyboards/moonlander/matrix.c
diff options
context:
space:
mode:
authorFlorian Didron <fdidron@users.noreply.github.com>2023-01-23 16:22:37 +0900
committerGitHub <noreply@github.com>2023-01-23 16:22:37 +0900
commit6f611938ae8a11f8bb2726a94150102d8e6c758d (patch)
tree966db29f1923854218b66965abfa3903d1e9b921 /keyboards/moonlander/matrix.c
parent6a40c2b9bb104fb4899f7bf3b107bc13af34db8d (diff)
feat: adds halfmoon (#367)
* feat: adds halfmoon * fix: code review feedback * fix: halfmoon music map
Diffstat (limited to 'keyboards/moonlander/matrix.c')
-rw-r--r--keyboards/moonlander/matrix.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/keyboards/moonlander/matrix.c b/keyboards/moonlander/matrix.c
index 2ad4ccc5fd..3907dcb1fa 100644
--- a/keyboards/moonlander/matrix.c
+++ b/keyboards/moonlander/matrix.c
@@ -87,7 +87,10 @@ void matrix_init_custom(void) {
setPinInputLow(A7);
setPinInputLow(B0);
+ is_launching = true;
+ #ifndef HALFMOON
mcp23018_init();
+ #endif
}
bool matrix_scan_custom(matrix_row_t current_matrix[]) {
@@ -216,6 +219,7 @@ void matrix_power_up(void) {
ML_LED_1(false);
ML_LED_2(false);
ML_LED_3(false);
+
ML_LED_4(false);
ML_LED_5(false);
ML_LED_6(false);
@@ -230,4 +234,4 @@ void matrix_power_up(void) {
bool is_transport_connected(void) {
return mcp23018_initd;
-} \ No newline at end of file
+}