projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed some bug, added the humidity sensor
[fw/sdcc]
/
device
/
examples
/
ds390
/
ow390
/
temp.c
diff --git
a/device/examples/ds390/ow390/temp.c
b/device/examples/ds390/ow390/temp.c
index a9c62a28a01881d16483ebddaafa244acb14ad4d..52b4d0f575bb66f39bbc05cfcb80e944d9acaa95 100755
(executable)
--- a/
device/examples/ds390/ow390/temp.c
+++ b/
device/examples/ds390/ow390/temp.c
@@
-121,7
+121,7
@@
int main() //short argc, char **argv)
if (ReadTemperature(portnum, FamilySN[i],¤t_temp))
{
PrintSerialNum(FamilySN[i]);
if (ReadTemperature(portnum, FamilySN[i],¤t_temp))
{
PrintSerialNum(FamilySN[i]);
- printf(" %5.
1
f \n", current_temp);
+ printf(" %5.
2
f \n", current_temp);
}
else
printf(" Error reading temperature, verify device present:%d\n",
}
else
printf(" Error reading temperature, verify device present:%d\n",