mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 21:07:13 +02:00
removed virtual server warnings
This commit is contained in:
@ -207,8 +207,8 @@ int testBus() {
|
||||
|
||||
int ret = OK;
|
||||
u_int32_t addr = SET_TRIGGER_DELAY_LSB_REG;
|
||||
int times = 1000 * 1000;
|
||||
int i = 0;
|
||||
u_int32_t times = 1000 * 1000;
|
||||
u_int32_t i = 0;
|
||||
|
||||
for (i = 0; i < times; ++i) {
|
||||
bus_w(addr, i * 100);
|
||||
@ -1173,8 +1173,8 @@ int configureMAC() {
|
||||
|
||||
int setDetectorPosition(int pos[]) {
|
||||
int ret = OK;
|
||||
int innerPos[2] = {pos[X], pos[Y]};
|
||||
int outerPos[2] = {pos[X], pos[Y]};
|
||||
uint32_t innerPos[2] = {pos[X], pos[Y]};
|
||||
uint32_t outerPos[2] = {pos[X], pos[Y]};
|
||||
int selInterface = getPrimaryInterface();
|
||||
|
||||
if (getNumberofUDPInterfaces() == 1) {
|
||||
@ -1514,7 +1514,7 @@ int setThresholdTemperature(int val) {
|
||||
// conversion
|
||||
temp = (temp * (625.0/10.0));
|
||||
|
||||
float ftemp = (double)temp/1000.00;
|
||||
double ftemp = (double)temp/1000.00;
|
||||
FILE_LOG(logDEBUG1, ("Threshold Temperature read %f °C\n",ftemp));
|
||||
|
||||
return temp;
|
||||
|
Reference in New Issue
Block a user