m3, individual chip index back in for hw 1.2, need the linux drivers for chipdac0-9 (#685)

This commit is contained in:
Dhanya Thattil
2023-02-23 09:13:31 +01:00
committed by GitHub
parent 403989e2f8
commit a74c9498e2
2 changed files with 5 additions and 7 deletions

View File

@ -719,13 +719,12 @@ TEST_CASE("confadc", "[.cmd]") {
REQUIRE(oss.str() == "confadc 0x11\n");
}
// doesnt exist in hw yet to set individual chips (no file)
for (int i = 0; i != ndet; ++i) {
// for (int j = 0; j != nchip; ++j) {
for (int k = 0; k != nadc; ++k) {
det.setADCConfiguration(-1, k, prev_val[i][0][k], {i});
for (int j = 0; j != nchip; ++j) {
for (int k = 0; k != nadc; ++k) {
det.setADCConfiguration(-1, k, prev_val[i][j][k], {i});
}
}
//}
}
} else {
REQUIRE_THROWS(proxy.Call("confadc", {}, -1, GET));