Formatting change.
This commit is contained in:
parent
906857ed82
commit
361428d764
2
icx3.c
2
icx3.c
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user