From: Michal Sojka Date: Thu, 26 Feb 2009 13:49:38 +0000 (+0100) Subject: Disabled prinfs to have smaller application and shorter load times X-Git-Url: https://rtime.felk.cvut.cz/gitweb/mirosot.git/commitdiff_plain/d06629190a025fdfe8aefa845b51af32311026db Disabled prinfs to have smaller application and shorter load times --- diff --git a/navratil_ad/navratil_ad.c b/navratil_ad/navratil_ad.c index 1606c5d..0304760 100644 --- a/navratil_ad/navratil_ad.c +++ b/navratil_ad/navratil_ad.c @@ -181,7 +181,7 @@ void move(int speed, int r) } pxmc_spd(&mcsX0, +sl, 0); pxmc_spd(&mcsX1, -sr, 0); - printf("speed=%5d, r=%5d, sl=%5d, sr=%5d\n", speed, r, sl, sr); + //printf("speed=%5d, r=%5d, sl=%5d, sr=%5d\n", speed, r, sl, sr); } void autonomni_pohyb(void) @@ -208,7 +208,7 @@ void autonomni_pohyb(void) time_next = now + 10; cas++; /*Vypsani vzdalenosti na terminal*/ - printf("Predni: %d\tZadni: %d\tSpeed: %d\tSmer: %d\tOtoc: %d\n", vzdalenost, vzdalenost_zpet, speed, smer, otoc); + //printf("Predni: %d\tZadni: %d\tSpeed: %d\tSmer: %d\tOtoc: %d\n", vzdalenost, vzdalenost_zpet, speed, smer, otoc); } // konec if podminky na vypis za 1s if (stav == 1 && now >= next){ // podminka pro jizdu @@ -303,7 +303,7 @@ void sleduj_caru(void){ time_next = now + 10; cas++; /*Vypsani vzdalenosti na terminal*/ - printf("V case %ds\tLeva: %d\tStredni: %d\tPrava: %d\n", cas, leva, stred, prava); // vypisuje hodnoty povrchu po 1s + //printf("V case %ds\tLeva: %d\tStredni: %d\tPrava: %d\n", cas, leva, stred, prava); // vypisuje hodnoty povrchu po 1s } // konec if podminklz na vypis za 1s } // konec hlavni smycky } // konec funkce sleduj_caru()