Dolda2000 GitWeb
/
kokare.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a75485
)
Always redisplay in state 1.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 5 Jul 2007 03:38:00 +0000
(
05:38
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 5 Jul 2007 03:38:00 +0000
(
05:38
+0200)
kokare.c
patch
|
blob
|
blame
|
history
diff --git
a/kokare.c
b/kokare.c
index
0170237
..
4c32000
100644
(file)
--- a/
kokare.c
+++ b/
kokare.c
@@
-322,12
+322,6
@@
int main(void)
cur = 0;
if(cur > 100)
cur = 100;
- if(cur < 100) {
- display(cur, 0, run);
- } else {
- dsp[0] = SEGG;
- dsp[1] = SEGG | (run?SEGP:0);
- }
utime = mnow;
}
if(mnow - utime > 2000000) {
@@
-338,6
+332,12
@@
int main(void)
run = !run;
sstate = 0;
}
+ if(cur < 100) {
+ display(cur, 0, run);
+ } else {
+ dsp[0] = SEGG;
+ dsp[1] = SEGG | (run?SEGP:0);
+ }
} else if(state == 2) {
/* Display raw temp time reading */
if(ttimea < 20000) {