mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 10:07:59 +02:00
added enum left right top bottom
This commit is contained in:
@ -2051,15 +2051,11 @@ int getActivate(int *retval) {
|
||||
return OK;
|
||||
}
|
||||
|
||||
int setDataStream(enum portPositiion port, int enable) {
|
||||
int setDataStream(enum portPosition port, int enable) {
|
||||
if (enable < 0) {
|
||||
LOG(logERROR, ("Invalid setDataStream enable argument: %d\n", enable));
|
||||
return FAIL;
|
||||
}
|
||||
if (left < 0) {
|
||||
LOG(logERROR, ("Invalid setDataStream port argument: %d\n", port));
|
||||
return FAIL;
|
||||
}
|
||||
#ifdef VIRTUAL
|
||||
if (port == LEFT) {
|
||||
eiger_virtual_left_datastream = enable;
|
||||
@ -2074,7 +2070,7 @@ int setDataStream(enum portPositiion port, int enable) {
|
||||
return OK;
|
||||
}
|
||||
|
||||
int getDataStream(enum portPositiion port, int *retval) {
|
||||
int getDataStream(enum portPosition port, int *retval) {
|
||||
#ifdef VIRTUAL
|
||||
if (port == LEFT) {
|
||||
*retval = eiger_virtual_left_datastream;
|
||||
|
Reference in New Issue
Block a user