fix
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 4 Apr 2016 06:53:14 +0000 (09:53 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 4 Apr 2016 06:53:14 +0000 (09:53 +0300)
main.c

diff --git a/main.c b/main.c
index 7b2ab8f..b9d9786 100644 (file)
--- a/main.c
+++ b/main.c
@@ -75,7 +75,7 @@ restart:
                goto restart;
        }
 
-       while(42 && stopRequest == false) {
+       while(42) {
                if (trinketGetCumDose(&curDose) != ERR_OK) {
                        fprintf(stderr, "trinketGetCumDose fails\n");
                        trinketClose();