mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-13 11:16:04 +01:00
added cast to silence warning in CTB server
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user