From: Fredrik Tolf Date: Thu, 21 Jun 2007 16:19:24 +0000 (+0000) Subject: Added ZVD debugging. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=72ef9ac1add1aa2f1cdd1f2f6b3182f5b3c25a25;p=kokare.git Added ZVD debugging. --- diff --git a/kokare.c b/kokare.c index 6635747..c475e80 100644 --- a/kokare.c +++ b/kokare.c @@ -228,7 +228,7 @@ int main(void) calcavg(); triaccycle(); -#if 1 +#if 0 /* * User interface */ @@ -291,6 +291,17 @@ int main(void) display(ttimea / 1000); } #endif +#if 1 +#endif + /* + * ZVD debug + */ + if(zok) { + if(++cur > 99) + cur = 0; + display(cur); + zok = 0; + } #if 0 /* Phony Triac control