]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/lib/printf/PrintfP.nc
Added TosThreads support for Mulle.
[tinyos-2.x.git] / tos / lib / tosthreads / lib / printf / PrintfP.nc
index 47dcccfe1adff5ed3fa0be007d40dd197af4cd87..04d8ab043e17086579b39b5728e2ae6be49aa0ed 100644 (file)
@@ -108,7 +108,7 @@ implementation {
     }
   }
 
-  int printfflush() @C() AT_SPONTANEOUS {
+  int printfflush() @C() @spontaneous() {
     call Barrier.block(&flushstart_barrier);
     call Barrier.reset(&flushstart_barrier, 2);
     call Barrier.block(&flushdone_barrier);
@@ -122,6 +122,9 @@ implementation {
   #ifdef _H_atmega128hardware_H
   int uart_putchar(char c, FILE *stream) __attribute__((noinline)) @C() @spontaneous() {
   #endif
+#ifdef __M16C62PHARDWARE_H__
+  int lowlevel_putc(int c) __attribute__((noinline)) @C() @spontaneous() {
+#endif
     uint16_t q_size;
     error_t q_error;