Show
Ignore:
Timestamp:
03/13/08 13:52:28 (16 years ago)
Author:
arnonym
Message:

Some Whitespace changes.

And use printMessage instead of printf for the ConfigRomPrint?. should fix #70

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/libieee1394/configrom.cpp

    r898 r943  
    529529    debugOutput(DEBUG_LEVEL_NORMAL, "\tNode Vendor ID:\t\t0x%06x\n",  getNodeVendorId() ); 
    530530    debugOutput(DEBUG_LEVEL_NORMAL, "\tModel Id:\t\t0x%08x\n",        getModelId() ); 
    531     debugOutput(DEBUG_LEVEL_NORMAL, "\tUnit Specifier ID:\t0x%06x\n", getUnitSpecifierId() ); 
    532     debugOutput(DEBUG_LEVEL_NORMAL, "\tUnit version:\t\t0x%08x\n",        getUnitVersion() ); 
     531    debugOutput(DEBUG_LEVEL_NORMAL, "\tUnit Specifier ID:\t0x%06x\n", getUnitSpecifierId() ); 
     532    debugOutput(DEBUG_LEVEL_NORMAL, "\tUnit version:\t\t0x%08x\n",    getUnitVersion() ); 
    533533    debugOutput(DEBUG_LEVEL_NORMAL, "\tISO resource manager:\t%d\n",  isIsoResourseManager() ); 
    534534    debugOutput(DEBUG_LEVEL_NORMAL, "\tCycle master capable:\t%d\n",  isSupportsIsoOperations() ); 
    535535    debugOutput(DEBUG_LEVEL_NORMAL, "\tBus manager capable:\t%d\n",   isBusManagerCapable() ); 
    536     debugOutput(DEBUG_LEVEL_NORMAL, "\tCycle clock accuracy:\t%d\n", getCycleClockAccurancy() ); 
     536    debugOutput(DEBUG_LEVEL_NORMAL, "\tCycle clock accuracy:\t%d\n", getCycleClockAccurancy() ); 
    537537    debugOutput(DEBUG_LEVEL_NORMAL, "\tMax rec:\t\t%d (max asy payload: %d bytes)\n", 
    538538            getMaxRec(), getAsyMaxPayload() ); 
     
    543543{ 
    544544    using namespace std; 
    545     printf("Config ROM\n" ); 
    546     printf("\tCurrent Node Id:\t%d\n",       getNodeId() ); 
    547     printf("\tGUID:\t\t\t0x%016llX\n",       getGuid()); 
    548     printf("\tVendor Name:\t\t%s\n",         getVendorName().c_str() ); 
    549     printf("\tModel Name:\t\t%s\n",          getModelName().c_str() ); 
    550     printf("\tNode Vendor ID:\t\t0x%06x\n",  getNodeVendorId() ); 
    551     printf("\tModel Id:\t\t0x%08x\n",        getModelId() ); 
    552     printf("\tUnit Specifier ID:\t0x%06x\n", getUnitSpecifierId() ); 
    553     printf("\tUnit version:\t\t0x%08x\n",        getUnitVersion() ); 
    554     printf("\tISO resource manager:\t%d\n",  isIsoResourseManager() ); 
    555     printf("\tCycle master capable:\t%d\n",  isSupportsIsoOperations() ); 
    556     printf("\tBus manager capable:\t%d\n",   isBusManagerCapable() ); 
    557     printf("\tCycle clock accuracy:\t%d\n", getCycleClockAccurancy() ); 
    558     printf("\tMax rec:\t\t%d (max asy payload: %d bytes)\n", getMaxRec(), getAsyMaxPayload() ); 
     545    printMessage("Config ROM\n" ); 
     546    printMessage("\tCurrent Node Id:\t%d\n",       getNodeId() ); 
     547    printMessage("\tGUID:\t\t\t0x%016llX\n",       getGuid()); 
     548    printMessage("\tVendor Name:\t\t%s\n",         getVendorName().c_str() ); 
     549    printMessage("\tModel Name:\t\t%s\n",          getModelName().c_str() ); 
     550    printMessage("\tNode Vendor ID:\t\t0x%06x\n",  getNodeVendorId() ); 
     551    printMessage("\tModel Id:\t\t0x%08x\n",        getModelId() ); 
     552    printMessage("\tUnit Specifier ID:\t0x%06x\n", getUnitSpecifierId() ); 
     553    printMessage("\tUnit version:\t\t0x%08x\n",    getUnitVersion() ); 
     554    printMessage("\tISO resource manager:\t%d\n",  isIsoResourseManager() ); 
     555    printMessage("\tCycle master capable:\t%d\n",  isSupportsIsoOperations() ); 
     556    printMessage("\tBus manager capable:\t%d\n",   isBusManagerCapable() ); 
     557    printMessage("\tCycle clock accuracy:\t%d\n", getCycleClockAccurancy() ); 
     558    printMessage("\tMax rec:\t\t%d (max asy payload: %d bytes)\n", getMaxRec(), getAsyMaxPayload() ); 
    559559} 
    560560