mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
ctb: change in phase done in degrees (phase reset due to change in frequency)
This commit is contained in:
Binary file not shown.
@ -1179,11 +1179,11 @@ int setClockDivider(enum CLKINDEX ind, int val) {
|
||||
clkPhase[SYSTEM_C2] = 0;
|
||||
}
|
||||
|
||||
// set the phase in degreesif custom set
|
||||
// set the phase in degrees (reset by pll)
|
||||
{
|
||||
int i = 0;
|
||||
for (i = 0; i < NUM_CLOCKS; ++i) {
|
||||
FILE_LOG(logINFO, ("\tPhase reset by PLL\n\tCorrecting %s clock (%d) phase to %d degrees\n", clock_names[i], i, oldPhases[i]));
|
||||
FILE_LOG(logINFO, ("\tCorrecting %s clock (%d) phase to %d degrees\n", clock_names[i], i, oldPhases[i]));
|
||||
setPhase(i, oldPhases[i], 1);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user