Changeset 419


Ignore:
Timestamp:
Mar 23, 2009, 3:06:04 AM (16 years ago)
Author:
Paul Smedley
Message:

Disable output to comport if com = 0 (default)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-2.0/lib32/debug.c

    r305 r419  
    559559      CharOut(*DbgStr++);
    560560      */
    561 #ifdef DEBUG999
    562    for( i= 0; i < len; i++ )
    563       CharOut( DbgStr[i] );
    564 
    565    if (fLineTerminate)
     561#ifdef DEBUG
     562   if (MAGIC_COMM_PORT)
    566563   {
    567       CharOut(CR);                              // append carriage return,
    568       CharOut(LF);                              // linefeed
     564       for( i= 0; i < len; i++ )
     565          CharOut( DbgStr[i] );
     566       if (fLineTerminate)
     567       {
     568           CharOut(CR);                              // append
     569           carriage return,
     570           CharOut(LF);                              // linefeed
     571       }
    569572   }
    570573#endif
Note: See TracChangeset for help on using the changeset viewer.