Skip to content

Commit

Permalink
Stupid printf. %d is for integers
Browse files Browse the repository at this point in the history
  • Loading branch information
pid1 committed Apr 28, 2015
1 parent 1ca3736 commit b3399dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thermostat/ThermostatDevice.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private void updateServer(DataObject<String> dataReading, String serverIP){
//this.sendSerialNumber(this.serialNumber);
//this.sendIP("192.168.1.2");
} catch(Exception e){
System.out.printf("The data reading value is: %d \n", dataReading.getValue());
System.out.println(dataReading.getValue());
System.out.println("Error sending to server");
}
}
Expand Down

0 comments on commit b3399dc

Please sign in to comment.