From 8ccfe9c0108b220fb2b75fe0245761b579532e54 Mon Sep 17 00:00:00 2001 From: klueska Date: Fri, 10 Oct 2008 06:32:47 +0000 Subject: [PATCH] Opps, missed one place for the @spontaneous() --- tos/lib/tosthreads/lib/printf/PrintfP.nc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tos/lib/tosthreads/lib/printf/PrintfP.nc b/tos/lib/tosthreads/lib/printf/PrintfP.nc index 47dcccfe..5f164bfa 100644 --- a/tos/lib/tosthreads/lib/printf/PrintfP.nc +++ b/tos/lib/tosthreads/lib/printf/PrintfP.nc @@ -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); -- 2.39.2