Skip to content

Commit

Permalink
Fix some spell error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinyu authored and Tinyu committed Dec 4, 2024
1 parent 0995997 commit 6bdaf88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/unit_byte.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6bdaf88

Please sign in to comment.