Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qmk-keychron-q3-colemak-dh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
keyboard
qmk-keychron-q3-colemak-dh
Commits
cd696ed3
Commit
cd696ed3
authored
Mar 20, 2019
by
James Churchill
Committed by
MechMerlin
Mar 20, 2019
Browse files
Options
Downloads
Patches
Plain Diff
Fix i2c splits with >8 columns (#5454)
parent
ab294813
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
quantum/split_common/transport.c
+3
-3
3 additions, 3 deletions
quantum/split_common/transport.c
with
3 additions
and
3 deletions
quantum/split_common/transport.c
+
3
−
3
View file @
cd696ed3
#include
<string.h>
#include
"config.h"
#include
"matrix.h"
...
...
@@ -59,9 +60,8 @@ bool transport_master(matrix_row_t matrix[]) {
}
void
transport_slave
(
matrix_row_t
matrix
[])
{
for
(
int
i
=
0
;
i
<
ROWS_PER_HAND
*
sizeof
(
matrix_row_t
);
++
i
)
{
i2c_slave_reg
[
I2C_KEYMAP_START
+
i
]
=
matrix
[
i
];
}
// Copy matrix to I2C buffer
memcpy
((
void
*
)(
i2c_slave_reg
+
I2C_KEYMAP_START
),
(
void
*
)
matrix
,
ROWS_PER_HAND
*
sizeof
(
matrix_row_t
)
);
// Read Backlight Info
# ifdef BACKLIGHT_ENABLE
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment