mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 19:46:30 +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:
|
default:
|
||||||
#ifdef CHIPTESTBOARDD
|
#ifdef CHIPTESTBOARDD
|
||||||
if (ind < NDAC_ONLY) {
|
if (ind < NDAC_ONLY) {
|
||||||
serverDacIndex = ind;
|
//For CTB use the index directly, no conversion
|
||||||
|
serverDacIndex = (enum DACINDEX)ind;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user