From 7448b65567f15d340b76e5435e1f1f1bc144573c Mon Sep 17 00:00:00 2001 From: Giuliano Zaro <3684609+GMagician@users.noreply.github.com> Date: Fri, 3 Jul 2020 18:49:16 +0200 Subject: [PATCH] Fix axis name in serial output (#18522) --- Marlin/src/core/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/core/types.h b/Marlin/src/core/types.h index 6bcd4bd48..cd533ad26 100644 --- a/Marlin/src/core/types.h +++ b/Marlin/src/core/types.h @@ -501,4 +501,4 @@ struct XYZEval { #undef FI const xyze_char_t axis_codes { 'X', 'Y', 'Z', 'E' }; -#define XYZ_CHAR(A) ('X' + char(A)) +#define XYZ_CHAR(A) ((char)('X' + A))