]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/printf/printf.h
Added avr_stdio.h file to be backwards compatible with old avr-libc library.
[tinyos-2.x.git] / tos / lib / printf / printf.h
index e25b28e4ec6b5129c9ec7a7237ba4b25a9e66357..a7cb005a5f44077fcaa013a7647b87e5c9e6dbb3 100644 (file)
 #ifndef PRINTF_H
 #define PRINTF_H
 
-#include <stdio.h>
+#ifdef _H_msp430hardware_h
+  #include <stdio.h>
+#endif
+#ifdef _H_atmega128hardware_H
+  #include "avr_stdio.h"
+#endif
 #include "message.h"
 
 #define PRINTF_BUFFER_SIZE 250