Its not necessarily out of date.... the changes were made in cvs, not associated with any release yet. The documentation will be updated by the time the next release come sout in a few weeks.
And I've added a declaration to printfflush() in 'printf.h' so you can call it solong as you include this header file. Kevin On Tue, Jun 17, 2008 at 2:54 AM, David <[EMAIL PROTECTED]> wrote: > Hi list. > > It looks like the printf() tutorial here is out of date: > > http://docs.tinyos.net/index.php/The_TinyOS_printf_Library > > In a recent commit, the old printf files were moved to a > 2_0_2-subdirectory, and there are a few differences in the new > version. > > One difference that I'm having trouble with (and was hoping the tut > would clarify) is the lack of a PrintfFlush interface. > > According to the new PrintfP.nc file's comments, if you want to flush > sooner than the default, you need to call printfflush() directly. > > My app needs to call printfflush() because I want printf output to be > displayed quickly, instead of waiting until the printf buffer (250 > chars) is half-full. > > How can I call printfflush() in my app if the function isn't in an > interface or header file? > > For now I will use the 2_0_2 version. > > David. > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- ~Kevin _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
