mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
patternX to pattern (#1120)
* pattern is not an issue for yaml. changing patternX to pattern everywhere * added patternX to deprecated
This commit is contained in:
@ -17,7 +17,7 @@ reg 0x658 0x0
|
||||
reg 0x658 0x61e0
|
||||
|
||||
# Enable MH02 PLL clock
|
||||
patternX enable_clock_pattern.pyat
|
||||
pattern enable_clock_pattern.pyat
|
||||
# start the flow
|
||||
setbit 0x108 0
|
||||
clearbit 0x108 0
|
||||
|
@ -36,5 +36,5 @@ reg 0x5D8 0x0
|
||||
setbit 0x500 18
|
||||
|
||||
# load default pattern
|
||||
patternX readout_pattern.pyat
|
||||
pattern readout_pattern.pyat
|
||||
|
||||
|
@ -748,12 +748,12 @@ int readConfigFile(char *mess, char *fileName, char *fileType) {
|
||||
LOG(logINFOBLUE, ("Polled bit %d in 0x%x\n", bit, addr));
|
||||
}
|
||||
|
||||
// patternX command
|
||||
else if (!strncmp(line, "patternX", strlen("patternX"))) {
|
||||
// take a file name and call loadPAtterFile
|
||||
// pattern command
|
||||
else if (!strncmp(line, "pattern", strlen("pattern"))) {
|
||||
// take a file name and call loadPatterFile
|
||||
char patternFileName[LZ];
|
||||
if (sscanf(line, "%s %s", command, patternFileName) != 2) {
|
||||
sprintf(mess, "Could not scan patternX command. Line:[%s].\n",
|
||||
sprintf(mess, "Could not scan pattern command. Line:[%s].\n",
|
||||
line);
|
||||
LOG(logERROR, (mess));
|
||||
return FAIL;
|
||||
|
Reference in New Issue
Block a user