projects
/
bbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5db59f
)
Consistently use MGMT_*
author
volpol
<volpol@packet-gain.de>
Sat, 18 Aug 2018 15:15:41 +0000
(17:15 +0200)
committer
volpol
<volpol@packet-gain.de>
Sat, 18 Aug 2018 15:15:41 +0000
(17:15 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 2eefcdbb78bd32cbe95fd78fa558221e715b57ba..0265ed803b0c76c77974b5cdd784c3984474b94f 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-57,7
+57,7
@@
static void mix(const char *recipe){
if (0 != pump_add(idx)) break; //or continue?
mgmt_start(vol);
pump_on(idx);
- while (
!
(sr = mgmt_stop()) && !force_quit) usleep(100);
+ while (
MGMT_CONTINUE ==
(sr = mgmt_stop()) && !force_quit) usleep(100);
pump_off(idx);
pump_del(idx);
fprintf (stderr, "STOP reason: %d/%d\n", sr, force_quit);