Only configure the axis once

This commit is contained in:
kpetersn
2018-03-16 15:37:30 -05:00
parent d792f9afe7
commit 13ee3d23e4
+1 -1
View File
@@ -344,7 +344,7 @@ ANF2Axis::ANF2Axis(ANF2Controller *pC, const char *ANF2ConfName, int axisNo, epi
registers_[1] = 0x00000064;
// Does the number of elements refer to the number of 16-bit elements?
status = pasynInt32ArraySyncIO->write(pasynUserConfWrite_, configBits, 4, DEFAULT_CONTROLLER_TIMEOUT);
//status = pasynInt32ArraySyncIO->write(pasynUserConfWrite_, configBits, 4, DEFAULT_CONTROLLER_TIMEOUT);
// Mabye do it this way in the future
//status = this->pC_->writeReg32Array(axisNo, CONFIG_MSW, configBits, 4, DEFAULT_CONTROLLER_TIMEOUT);
// Write all the registers