summaryrefslogtreecommitdiff
path: root/tmk_core/common/arm_atsam
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-03-25 11:33:53 +0000
committerGitHub <noreply@github.com>2021-03-25 22:33:53 +1100
commit1bb6d8de6fa5063b21bc34549e1cf552e60d90ba (patch)
treed882751af2d49bc7a165380e87595a653bcdb71c /tmk_core/common/arm_atsam
parenta888057453db7a854549ec0d13f638392ffbcca8 (diff)
Fix USER_PRINT on avr/atsam (#12269)
* Fix USER_PRINT on avr/atsam * Update tmk_core/common/arm_atsam/_print.h Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'tmk_core/common/arm_atsam')
-rw-r--r--tmk_core/common/arm_atsam/_print.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tmk_core/common/arm_atsam/_print.h b/tmk_core/common/arm_atsam/_print.h
index a774f5d8d2..04320ee38b 100644
--- a/tmk_core/common/arm_atsam/_print.h
+++ b/tmk_core/common/arm_atsam/_print.h
@@ -27,8 +27,8 @@
// Create user & normal print defines
#define xprintf(fmt, ...) __xprintf(fmt, ##__VA_ARGS__)
-#define print(s) xprintf(s)
-#define println(s) xprintf(s "\r\n")
-#define uprint(s) print(s)
-#define uprintln(s) println(s)
-#define uprintf(fmt, ...) xprintf(fmt, ##__VA_ARGS__)
+#define print(s) __xprintf(s)
+#define println(s) __xprintf(s "\r\n")
+#define uprint(s) __xprintf(s)
+#define uprintln(s) __xprintf(s "\r\n")
+#define uprintf(fmt, ...) __xprintf(fmt, ##__VA_ARGS__)