X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fprintf%2Fprintf.h;h=605162c91dc62ebd26a29a8fa1b78a5ae4a407e3;hb=1acf29815e32190a6ff1b1212ba2702354c0ed48;hp=a8cf26193433754283cf7f119539145d76e5e1ff;hpb=5d550404eaef4a310d593e55c234e781fdc970be;p=tinyos-2.x.git diff --git a/tos/lib/printf/printf.h b/tos/lib/printf/printf.h index a8cf2619..605162c9 100644 --- a/tos/lib/printf/printf.h +++ b/tos/lib/printf/printf.h @@ -51,7 +51,9 @@ #include "message.h" int printfflush(); +#ifndef PRINTF_MSG_LENGTH #define PRINTF_MSG_LENGTH 28 +#endif typedef nx_struct printf_msg { nx_uint8_t buffer[PRINTF_MSG_LENGTH]; } printf_msg_t;