#include "dev_interface.h"
#include "utility.h"
-const char *scsicmds_c_cvsid="$Id: scsicmds.cpp 4243 2016-03-20 18:29:36Z chrfranke $"
+const char *scsicmds_c_cvsid="$Id: scsicmds.cpp 4414 2017-03-27 21:00:46Z chrfranke $"
SCSICMDS_H_CVSID;
// Print SCSI debug messages?
if (iecp->gotChangeable &&
(iecp->raw_chg[offset + 2] & DEXCPT_ENABLE))
rout[offset + 2] |= DEXCPT_ENABLE;
- rout[offset + 2] &= TEST_DISABLE;/* clear TEST bit for spec */
+ rout[offset + 2] &= TEST_DISABLE; /* clear TEST bit for spec */
}
}
if (10 == iecp->modese_len)
UINT8 tBuf[252];
struct scsi_sense_disect sense_info;
int err;
- int temperatureSet = 0;
UINT8 currTemp, trTemp;
*asc = 0;
}
*asc = sense_info.asc;
*ascq = sense_info.ascq;
- if ((! temperatureSet) && hasTempLogPage) {
+ if (hasTempLogPage) {
if (0 == scsiGetTemp(device, &currTemp, &trTemp)) {
*currenttemp = currTemp;
*triptemp = trTemp;