From: Teodor Sigaev Date: Mon, 4 Apr 2016 06:53:14 +0000 (+0300) Subject: fix X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=98b7393249f761a99e059890f40129b0cebd75b9;p=trinked.git fix --- diff --git a/main.c b/main.c index 7b2ab8f..b9d9786 100644 --- 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();