summaryrefslogtreecommitdiff
path: root/keyboards/handwired/symmetric70_proto/proton_c/proton_c.c
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2021-07-14 10:30:28 -0700
committerZach White <skullydazed@gmail.com>2021-07-14 10:30:28 -0700
commit44d322623eb875f6eb2e0a317c76af2d47f7a9dc (patch)
treeab722bcc4cea4e4ed16f0a5dce0602fe1f2c63e5 /keyboards/handwired/symmetric70_proto/proton_c/proton_c.c
parent52cfc9259b58a3a11a244fbe35c49c7dd1a9cae0 (diff)
parentffdfe3798bc7bd374991abe8f10494f2e73aedd5 (diff)
Merge remote-tracking branch 'origin/master' into develop
Resolved Conflicts: keyboards/checkerboards/nop60/info.json
Diffstat (limited to 'keyboards/handwired/symmetric70_proto/proton_c/proton_c.c')
-rw-r--r--keyboards/handwired/symmetric70_proto/proton_c/proton_c.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/handwired/symmetric70_proto/proton_c/proton_c.c b/keyboards/handwired/symmetric70_proto/proton_c/proton_c.c
new file mode 100644
index 0000000000..3fe5bc297c
--- /dev/null
+++ b/keyboards/handwired/symmetric70_proto/proton_c/proton_c.c
@@ -0,0 +1,12 @@
+#include "quantum.h"
+
+#ifndef MATRIX_IO_DELAY_DEFAULT
+/* In tmk_core/common/wait.h, the implementation for PROTOCOL_CHIBIOS
+ * calls 'chThdSleepMicroseconds(1)' when 'wait_us(0)'.
+ * However, 'wait_us(0)' should do nothing. */
+void matrix_output_unselect_delay(void) {
+# if !defined(MATRIX_IO_DELAY) || MATRIX_IO_DELAY > 0
+ matrix_io_delay();
+# endif
+}
+#endif