]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/printf/printf.h
Force printf messages to 28 bytes regardless of what TOSH_DATA_LENGTH is set to
[tinyos-2.x.git] / tos / lib / printf / printf.h
index 32d7d7628a5bf33123be9f496c0b10c1a40c603b..a8cf26193433754283cf7f119539145d76e5e1ff 100644 (file)
@@ -51,8 +51,9 @@
 #include "message.h"
 int printfflush();
 
+#define PRINTF_MSG_LENGTH      28
 typedef nx_struct printf_msg {
-  nx_uint8_t buffer[TOSH_DATA_LENGTH];
+  nx_uint8_t buffer[PRINTF_MSG_LENGTH];
 } printf_msg_t;
 
 enum {