Skip to content

Commit

Permalink
jsbeautifer nits
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Aug 3, 2015
1 parent e154766 commit adea932
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/temperature.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ var Controllers = {
},
toCelsius: {
value: function(raw) {
return (5.0 * raw * 100.0)/1024.0;
return (5.0 * raw * 100.0) / 1024.0;
}
}
},
Expand All @@ -174,13 +174,13 @@ var Controllers = {
},
toCelsius: {
value: function(raw) {
var mv = (raw/1024.0) * 5000;
var k = (mv/10);
return (k-273.15);
var mv = (raw / 1024.0) * 5000;
var k = (mv / 10);
return (k - 273.15);
}
}
},

//https://www.sparkfun.com/products/10988
TMP36: {
initialize: {
Expand Down

0 comments on commit adea932

Please sign in to comment.