summaryrefslogtreecommitdiff
path: root/keyboards/mschwingen/modelm
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mschwingen/modelm')
-rw-r--r--keyboards/mschwingen/modelm/modelm.c2
-rw-r--r--keyboards/mschwingen/modelm/post_rules.mk3
-rw-r--r--keyboards/mschwingen/modelm/rules.mk4
3 files changed, 4 insertions, 5 deletions
diff --git a/keyboards/mschwingen/modelm/modelm.c b/keyboards/mschwingen/modelm/modelm.c
index c1180612ad..7dcd4ac024 100644
--- a/keyboards/mschwingen/modelm/modelm.c
+++ b/keyboards/mschwingen/modelm/modelm.c
@@ -27,7 +27,7 @@
# undef sendchar
static int8_t capture_sendchar(uint8_t c) {
// sendchar(c);
- uart_putchar(c);
+ uart_write(c);
return 0;
}
#endif
diff --git a/keyboards/mschwingen/modelm/post_rules.mk b/keyboards/mschwingen/modelm/post_rules.mk
new file mode 100644
index 0000000000..a1c2040f4c
--- /dev/null
+++ b/keyboards/mschwingen/modelm/post_rules.mk
@@ -0,0 +1,3 @@
+ifeq ($(strip $(UART_DEBUG)), yes)
+ OPT_DEFS += -DUART_DEBUG
+endif
diff --git a/keyboards/mschwingen/modelm/rules.mk b/keyboards/mschwingen/modelm/rules.mk
index 11282805cf..5e88410862 100644
--- a/keyboards/mschwingen/modelm/rules.mk
+++ b/keyboards/mschwingen/modelm/rules.mk
@@ -35,8 +35,4 @@ OPT_DEFS += -DSLEEP_LED_ENABLE # we need our own sleep callbacks to turn of WS28
LTO_ENABLE = yes
-ifeq ($(strip $(UART_DEBUG)), yes)
- OPT_DEFS += -DUART_DEBUG
-endif
-
DEFAULT_FOLDER = mschwingen/modelm/led_wired