mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-09 14:20:03 +02:00
added cast to silence warning in CTB server
This commit is contained in:
parent
e6c8ba0e88
commit
01d00164e5
@ -992,7 +992,8 @@ enum DACINDEX getDACIndex(enum dacIndex ind) {
|
||||
default:
|
||||
#ifdef CHIPTESTBOARDD
|
||||
if (ind < NDAC_ONLY) {
|
||||
serverDacIndex = ind;
|
||||
//For CTB use the index directly, no conversion
|
||||
serverDacIndex = (enum DACINDEX)ind;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user