Compare commits
1
Commits
v2.1.2
...
361428d764
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
361428d764 |
@@ -93,7 +93,7 @@ void print_icx3_temps(char *i2c_dev_path)
|
||||
cur_data = (short)(temp_sensors->data[2*i+1] << 8) | (short)(temp_sensors->data[2*i]);
|
||||
/* temp is reported in tenths of deg C */
|
||||
cur_temp = (float)cur_data/10;
|
||||
printf("%s: %.1f C\n",
|
||||
printf("%s: %+.1f°C\n",
|
||||
icx3_temp_sensor_names[i],
|
||||
cur_temp);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user