mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 22:40:02 +02:00
Fixed serial assignment. If top=1, serial=0 and vice versa.
This commit is contained in:
parent
8a8e1b7130
commit
7f7e7ca727
@ -187,7 +187,7 @@ int Feb_Control_Init(int master, int top){
|
|||||||
sscanf(pch,"%d",&res);
|
sscanf(pch,"%d",&res);
|
||||||
Feb_Control_module_number = (res & 0xFF);
|
Feb_Control_module_number = (res & 0xFF);
|
||||||
|
|
||||||
int serial = top;
|
int serial = !top;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
//for Gemmas modules: if master, serial 0, else 1
|
//for Gemmas modules: if master, serial 0, else 1
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user