projects
/
trinked.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25bc138
)
minimize time to trinket is opened
author
Teodor Sigaev
<teodor@sigaev.ru>
Wed, 6 Apr 2016 19:47:37 +0000
(22:47 +0300)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Wed, 6 Apr 2016 19:47:37 +0000
(22:47 +0300)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
722204c
..
ff77ec5
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-90,6
+90,8
@@
main_loop() {
continue;
}
+ trinketClose();
+
if (collected <= tics) {
prevDose[collected++] = curDose;
} else {
@@
-126,7
+128,6
@@
main_loop() {
}
}
- trinketClose();
sleep(period);
}
}