- count += snprintf(buf + count, icount - count, "%02x ", sl->rom[i]);
- temp = 0;
- temp <<= sl->rom[1] / 2;
- temp |= sl->rom[0] / 2;
- count += snprintf(buf + count, icount - count, "t=%u\n", temp);
+ count += sprintf(buf + count, "%02x ", sl->rom[i]);
+
+ count += sprintf(buf + count, "t=%d\n", w1_convert_temp(rom));