X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fprintf%2Fprintf.h;fp=tos%2Flib%2Fprintf%2Fprintf.h;h=fcaee28001588785522711cf4ffa5400bacee993;hb=aedcc28e689bcc831a9870fe06ce5a2882532cef;hp=a7cb005a5f44077fcaa013a7647b87e5c9e6dbb3;hpb=c2ad2c173b30b512955ff28e48c2f672dcddf5b6;p=tinyos-2.x.git diff --git a/tos/lib/printf/printf.h b/tos/lib/printf/printf.h index a7cb005a..fcaee280 100644 --- a/tos/lib/printf/printf.h +++ b/tos/lib/printf/printf.h @@ -30,6 +30,10 @@ #ifndef PRINTF_H #define PRINTF_H +#ifndef PRINTF_BUFFER_SIZE +#define PRINTF_BUFFER_SIZE 250 +#endif + #ifdef _H_msp430hardware_h #include #endif @@ -38,8 +42,6 @@ #endif #include "message.h" -#define PRINTF_BUFFER_SIZE 250 - typedef nx_struct printf_msg { nx_uint8_t buffer[TOSH_DATA_LENGTH]; } printf_msg_t;