Changeset 10813 for fact/FADctrl/FAD.cc


Ignore:
Timestamp:
May 25, 2011, 12:14:42 PM (8 years ago)
Author:
ogrimm
Message:
Corrected dcm_ready and dcm_lock bit evaluation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/FADctrl/FAD.cc

    r10757 r10813  
    656656
    657657        // Other data
    658         PrintMessage("Frequency %.2f GHz    Phase shift %d    PLL lock %d %d %d %d\n", S.Frequency, S.PhaseShift, S.Lock[0], S.Lock[1], S.Lock[2], S.Lock[3]);
     658        PrintMessage("Frequency %.2f GHz (%s)    Phase shift %d    PLL lock %d %d %d %d\n", S.Frequency, S.RefClk_low ? "too low":"OK", S.PhaseShift, S.Lock[0], S.Lock[1], S.Lock[2], S.Lock[3]);
    659659        PrintMessage("DENABLE %d   DWRITE %d   SPI_clk %d   DCM_lock %d   DCM_ready %d\n", S.denable, S.dwrite, S.spi_clk, S.DCM_lock, S.DCM_ready);   
    660660        PrintMessage("DAC %d %d %d %d   %d %d %d %d\n", S.DAC[0], S.DAC[1], S.DAC[2], S.DAC[3], S.DAC[4], S.DAC[5], S.DAC[6], S.DAC[7] );
     
    11211121 
    11221122  // Print to console
    1123   if (Text[strlen(Text)-1] == '\n') printf("\r");               // Overwrite prompt
     1123  //if (Text[strlen(Text)-1] == '\n') printf("\r");             // Overwrite prompt
    11241124  printf("%s", Text);
    11251125  fflush(stdout);
    1126   if (Text[strlen(Text)-1]=='\n') rl_on_new_line();             // New prompt
     1126  if (Text[strlen(Text)-1] == '\n') rl_on_new_line();
    11271127
    11281128  // Send to DIM text service
Note: See TracChangeset for help on using the changeset viewer.