X2D lib first commit
Diff: X2D.cpp
- Revision:
- 21:ffdda83d49e8
- Parent:
- 20:b14dcf6ec4bf
- Child:
- 22:2f87ca62099c
--- a/X2D.cpp Fri Jan 03 19:27:06 2020 +0000 +++ b/X2D.cpp Sat Feb 08 10:08:45 2020 +0000 @@ -432,11 +432,11 @@ #ifdef __DEBUG__ for (i=0; i<ETX_pos; i++) - pc.printf("%0.2X ",nibble[i]); - pc.printf("\r\n"); + debug("%0.2X ",nibble[i]); + debug("\r\n"); #endif if ( (char)(chksum>>8) != nibble[ETX_pos-2] || (char)chksum != nibble[ETX_pos-1] ) - pc.printf("CRC Error\r\n"); + debug("CRC Error\r\n"); else MessageRx.push(message);