From 6bdaf88d9c782ff778a276c777e7a471ec79147a Mon Sep 17 00:00:00 2001 From: Tinyu Date: Wed, 4 Dec 2024 17:23:13 +0800 Subject: [PATCH] Fix some spell error. --- src/unit_byte.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/unit_byte.hpp b/src/unit_byte.hpp index 4fff4ce..3e03c59 100644 --- a/src/unit_byte.hpp +++ b/src/unit_byte.hpp @@ -13,10 +13,10 @@ // #define UNIT_BYTE_DEBUG Serial // This macro definition can be annotated without sending and receiving data prints // Define the serial port you want to use, e.g., Serial1 or Serial2 #if defined UNIT_BYTE_DEBUG -#define serialPrint(...) UNIT_ROLLER_DEBUG.print(__VA_ARGS__) -#define serialPrintln(...) UNIT_ROLLER_DEBUG.println(__VA_ARGS__) -#define serialPrintf(...) UNIT_ROLLER_DEBUG.printf(__VA_ARGS__) -#define serialFlush() UNIT_ROLLER_DEBUG.flush() +#define serialPrint(...) UNIT_BYTEBUTTON_DEBUG.print(__VA_ARGS__) +#define serialPrintln(...) UNIT_BYTEBUTTON_DEBUG.println(__VA_ARGS__) +#define serialPrintf(...) UNIT_BYTEBUTTON_DEBUG.printf(__VA_ARGS__) +#define serialFlush() UNIT_BYTEBUTTON_DEBUG.flush() #else #endif