summaryrefslogtreecommitdiff
path: root/keyboards/handwired/symmetric70_proto/proton_c/proton_c.c
diff options
context:
space:
mode:
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