From d06629190a025fdfe8aefa845b51af32311026db Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Thu, 26 Feb 2009 14:49:38 +0100 Subject: [PATCH] Disabled prinfs to have smaller application and shorter load times --- navratil_ad/navratil_ad.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() -- 2.39.2