projects
/
wii_g.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17a7d8a
)
Fix time printing fuckup
master
author
Chip Black
<bytex64@bytex64.net>
Sat, 16 May 2009 23:16:38 +0000
(18:16 -0500)
committer
Chip Black
<bytex64@bytex64.net>
Sat, 16 May 2009 23:16:38 +0000
(18:16 -0500)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
1ab7237
..
0417af2
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-68,7
+68,7
@@
int main(int argc, char *argv[]) {
break;
}
- printf("%
d.%d\t%f\t%f\t%f\n", t.tv_sec, t.tv_usec
,
+ printf("%
f\t%f\t%f\t%f\n", (double)t.tv_sec + (double)t.tv_usec / 1e6
,
wiimote.force.x, wiimote.force.y,
wiimote.force.z);
}