added cast to silence warning in CTB server

This commit is contained in:
Erik Frojdh
2020-07-22 08:57:02 +02:00
parent e6c8ba0e88
commit 01d00164e5

View File

@@ -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