summaryrefslogtreecommitdiff
path: root/keyboards/moonlander/matrix.c
diff options
context:
space:
mode:
authorbiesigrr <biesigrr@users.noreply.github.com>2022-08-29 03:37:29 +0200
committerGitHub <noreply@github.com>2022-08-29 02:37:29 +0100
commit3f99c42800167a7be8829a8e8fbb1c64cf966eeb (patch)
tree3c3a4faabf2830f520a03f14a4bcf8fcaba49837 /keyboards/moonlander/matrix.c
parent1cc0b1e3713b8d96603a4ff746d75dda327e9abd (diff)
Expose Moonlander split detection to user code (#18040)
Diffstat (limited to 'keyboards/moonlander/matrix.c')
-rw-r--r--keyboards/moonlander/matrix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/moonlander/matrix.c b/keyboards/moonlander/matrix.c
index b6bac9515e..36017fcd12 100644
--- a/keyboards/moonlander/matrix.c
+++ b/keyboards/moonlander/matrix.c
@@ -227,3 +227,7 @@ void matrix_power_up(void) {
}
}
+
+bool is_transport_connected(void) {
+ return mcp23018_initd;
+} \ No newline at end of file