Changeset 213 in xtideuniversalbios for trunk/Serial_Server/library/Process.cpp


Ignore:
Timestamp:
Jan 18, 2012, 8:58:18 AM (13 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Minor improvements to serial server.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Serial_Server/library/Process.cpp

    r211 r213  
    5656    int logCount;
    5757
    58     if( verboseLevel == 6 || (verboseLevel >= 4 && buffoffset == readto) )
     58    if( verboseLevel == 5 || (verboseLevel >= 3 && buffoffset == readto) )
    5959    {
    60         if( verboseLevel == 4 && buffoffset > 11 )
     60        if( verboseLevel == 3 && buffoffset > 11 )
    6161            logCount = 11;
    6262        else
     
    106106        // For debugging, look at the incoming packet
    107107        //
    108         if( verboseLevel >= 4 )
     108        if( verboseLevel >= 3 )
    109109            logBuff( "    Received: ", buffoffset, readto, verboseLevel );
    110110
     
    267267                workOffset = 0;
    268268                workCount = buff.chs.count;
    269                 if( verboseLevel > 1 && workCount > 100 )
     269                if( verboseLevel > 0 && workCount > 100 )
    270270                    perfTimer = GetTime();
    271271            }
     
    321321        }
    322322
    323         if( verboseLevel > 1 )
     323        if( verboseLevel > 0 )
    324324        {
    325325            char *comStr = (workCommand & SERIAL_COMMAND_WRITE ? "Write" :
     
    338338                log( 2, "    Continuation: Offset=%u, Checksum=%04x", workOffset-1, buff.w[256] );
    339339
    340             if( !(workCommand & SERIAL_COMMAND_WRITE) && verboseLevel >= 4 )
     340            if( !(workCommand & SERIAL_COMMAND_WRITE) && verboseLevel >= 3 )
    341341                logBuff( "    Sending: ", 514, 514, verboseLevel );
    342342
Note: See TracChangeset for help on using the changeset viewer.