mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
mythen3, gotthard2: bug fix- changing wrong pll phases when changing frequency
This commit is contained in:
Binary file not shown.
@ -1710,7 +1710,7 @@ int setClockDivider(enum CLKINDEX ind, int val) {
|
||||
}
|
||||
|
||||
// phase is reset by pll (when setting output frequency)
|
||||
if (ind >= READOUT_C0) {
|
||||
if (ind < SYSTEM_C0) {
|
||||
clkPhase[READOUT_C0] = 0;
|
||||
clkPhase[READOUT_C1] = 0;
|
||||
} else {
|
||||
@ -2500,4 +2500,4 @@ int getTotalNumberOfChannels() {
|
||||
}
|
||||
int getNumberOfChips() { return NCHIP; }
|
||||
int getNumberOfDACs() { return NDAC; }
|
||||
int getNumberOfChannelsPerChip() { return NCHAN; }
|
||||
int getNumberOfChannelsPerChip() { return NCHAN; }
|
||||
|
Reference in New Issue
Block a user