[En-Nut-Discussion] Debug Idea

Mike Cornelius mikec at calldirect.com.au
Mon Sep 16 06:20:26 CEST 2002


Hi Harald,

What do you think of the following simple idea:-

Create a new global

NUTDEVICE *nutDebugDevice = 0;

Replace all

NutPrintFormat[_P] (0,...

with

NutPrintFormat[_P] (nutDebugDevice,...

That way if anyone wants to send debug info to some stream other than the
unbuffered UART it's easy....

Regards,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mike Cornelius                      Internet: mikec at calldirect.com.au
Call Direct Cellular Solutions      Phone:    +61 2 99-65-75-85
Level 1 8-22 West St North Sydney   FAX:      +61 2 99-65-75-90
NSW 2060 Australia                  URL:      http://www.calldirect.com.au
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





More information about the En-Nut-Discussion mailing list