Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131298
b: refs/heads/master
c: 507e2fb
h: refs/heads/master
v: v3
  • Loading branch information
Ian Dall authored and Linus Torvalds committed Feb 11, 2009
1 parent 73007fc commit 325dff9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4d48a542b42747c36a5937447d9c3de7c897ea50
refs/heads/master: 507e2fbaaacb6f164b4125b87c5002f95143174b
2 changes: 1 addition & 1 deletion trunk/drivers/w1/slaves/w1_therm.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static struct w1_therm_family_converter w1_therm_families[] = {

static inline int w1_DS18B20_convert_temp(u8 rom[9])
{
s16 t = (rom[1] << 8) | rom[0];
int t = ((s16)rom[1] << 8) | rom[0];
t = t*1000/16;
return t;
}
Expand Down

0 comments on commit 325dff9

Please sign in to comment.