Fixed serial assignment. If top=1, serial=0 and vice versa.

This commit is contained in:
brueckner_m 2015-04-21 11:57:31 +02:00
parent 8a8e1b7130
commit 7f7e7ca727
2 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ int Feb_Control_Init(int master, int top){
sscanf(pch,"%d",&res);
Feb_Control_module_number = (res & 0xFF);
int serial = top;
int serial = !top;
/*
//for Gemmas modules: if master, serial 0, else 1