mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-05 12:20:02 +02:00
WIP
This commit is contained in:
parent
6f2413fd5d
commit
fb5b2133f5
@ -118,7 +118,7 @@ void Feb_Control_FebControl() {
|
||||
int Feb_Control_Init(int master, int normal, int module_num) {
|
||||
Feb_control_master = master;
|
||||
Feb_control_normal = normal;
|
||||
Feb_Control_AddModule();
|
||||
Module_Module(&module);
|
||||
Feb_Interface_SetAddress(Module_GetRightAddress(&module),
|
||||
Module_GetLeftAddress(&module));
|
||||
if (Feb_Control_activated) {
|
||||
@ -186,17 +186,6 @@ void Feb_Control_CloseSerialCommunication() {
|
||||
close(Feb_Control_hv_fd);
|
||||
}
|
||||
|
||||
void Feb_Control_AddModule() {
|
||||
struct Module mod, *m;
|
||||
m = &mod;
|
||||
Module_Module(m);
|
||||
|
||||
LOG(logDEBUG1, ("\tAdding half module number %d with "
|
||||
"top base address: %d\n",
|
||||
m->module_number, Module_GetBaseAddress(m)));
|
||||
module = mod;
|
||||
}
|
||||
|
||||
int Feb_Control_CheckSetup(int master) {
|
||||
LOG(logDEBUG1, ("Checking Set up\n"));
|
||||
|
||||
|
@ -28,7 +28,6 @@ void Feb_Control_FebControl();
|
||||
int Feb_Control_Init(int master, int normal, int module_num);
|
||||
int Feb_Control_OpenSerialCommunication();
|
||||
void Feb_Control_CloseSerialCommunication();
|
||||
void Feb_Control_AddModule();
|
||||
int Feb_Control_CheckSetup();
|
||||
unsigned int Feb_Control_AddressToAll();
|
||||
int Feb_Control_SetCommandRegister(unsigned int cmd);
|
||||
|
Loading…
x
Reference in New Issue
Block a user