summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-05-17 05:02:48 +0000
committerQMK Bot <hello@qmk.fm>2022-05-17 05:02:48 +0000
commit1a61f1f5787c0f176b2dc88813c1f2ac564acc4d (patch)
tree0e12bde17abe903d3af680bbb2946af946a643f2
parent68f466db875d77ed9d0b28f657c2bc0e855dc833 (diff)
parent8b9cb030a74ced2c50fe62e2fd259e16a93e33bf (diff)
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--keyboards/latincompass/latinpad/latinpad.c20
-rw-r--r--keyboards/machkeyboards/mach3/mach3.c6
2 files changed, 12 insertions, 14 deletions
diff --git a/keyboards/latincompass/latinpad/latinpad.c b/keyboards/latincompass/latinpad/latinpad.c
index 85f8eba7d5..51826bd6a0 100644
--- a/keyboards/latincompass/latinpad/latinpad.c
+++ b/keyboards/latincompass/latinpad/latinpad.c
@@ -16,25 +16,23 @@
#include "latinpad.h"
#ifdef RGB_MATRIX_ENABLE
- led_config_t g_led_config = {
- {
- { 1, 2, 3, 4 },
- { 5, 6, 7, 8 },
- { 9, 10, 11, 12 },
- { 13, 14, 15, 16 },
- { 17, 18, NO_LED, NO_LED }
- },{
+led_config_t g_led_config = { {
+ { 0, 1, 2, 3 },
+ { 4, 5, 6, 7 },
+ { 8, 9, 10, 11 },
+ { 12, 13, 14, 15 },
+ { 16, 17, NO_LED, NO_LED }
+},{
{ 74, 21 }, { 37, 21 }, { 24, 21 }, { 18, 21 },
{ 74, 10 }, { 37, 10 }, { 28, 10 }, { 18, 10 },
{ 74, 7 }, { 37, 7 }, { 20, 7 }, { 18, 7 },
{ 74, 5 }, { 37, 5 }, { 22, 5 }, { 18, 5 },
{ 74, 5 }, { 37, 5 },
- },{
+},{
1, 1, 1, 1,
1, 1, 1, 1,
1, 1, 1, 1,
1, 1, 1, 1,
1, 1
- }
- };
+} };
#endif
diff --git a/keyboards/machkeyboards/mach3/mach3.c b/keyboards/machkeyboards/mach3/mach3.c
index 9769d02a53..509aac9fe5 100644
--- a/keyboards/machkeyboards/mach3/mach3.c
+++ b/keyboards/machkeyboards/mach3/mach3.c
@@ -19,8 +19,8 @@
led_config_t g_led_config = { {
// Key Matrix to LED Index
{ 0, 1, 2 },
- { 7, 6, 5 },
- { 8, 9, 10 },
+ { 5, 4, 3 },
+ { 6, 7, 8 },
}, {
// LED Index to Physical Position
{ 0, 0 }, { 112, 0 }, { 224, 0 },
@@ -39,4 +39,4 @@ void keyboard_pre_init_kb(void) {
writePinHigh(F5);
keyboard_pre_init_user();
-} \ No newline at end of file
+}