]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/printf/printf.h
Updated Printf library to new way of not requiring explicit wiring of any interfaces...
[tinyos-2.x.git] / tos / lib / printf / printf.h
index fcaee28001588785522711cf4ffa5400bacee993..835e40e0a7eeb8ea219fbb0bb569a21cb41bfb96 100644 (file)
 #define PRINTF_H
 
 #ifndef PRINTF_BUFFER_SIZE
-#define PRINTF_BUFFER_SIZE  250
+#define PRINTF_BUFFER_SIZE 250 
+#endif
+
+#if PRINTF_BUFFER_SIZE > 255
+  #define PrintfQueueC BigQueueC
+  #define PrintfQueue  BigQueue
+#else
+  #define PrintfQueueC QueueC
+  #define PrintfQueue  Queue
 #endif
 
 #ifdef _H_msp430hardware_h