removed virtual server warnings

This commit is contained in:
2020-03-10 15:15:09 +01:00
parent ee799b540a
commit 5192dae9c5
11 changed files with 143 additions and 75 deletions

View File

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