Changeset 427

Show
Ignore:
Timestamp:
02/17/07 22:15:11 (2 years ago)
Author:
goodea
Message:

quiet

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/projects/cmucam2/cmucam2.c

    r426 r427  
    144144                                   bool poll_mode, bool quiet); 
    145145static void cmucam2_get_mean (cc3_color_info_pkt_t * t_pkt, bool poll_mode, 
    146                               bool line_mode, bool quite); 
     146                              bool line_mode, bool quiet); 
    147147static void cmucam2_write_s_packet (cc3_color_info_pkt_t * pkt); 
    148148static void cmucam2_track_color (cc3_track_pkt_t * t_pkt, 
    149149                                 bool poll_mode, 
    150                                  bool line_mode, bool auto_led, bool quite); 
     150                                 bool line_mode, bool auto_led, bool quiet); 
    151151static int32_t cmucam2_get_command (int32_t * cmd, int32_t * arg_list); 
    152152static void print_ACK (void); 
     
    694694 
    695695void cmucam2_get_histogram (cc3_histogram_pkt_t * h_pkt, bool poll_mode, 
    696                             bool quite
     696                            bool quiet
    697697{ 
    698698  cc3_image_t img; 
     
    715715        return; 
    716716      } 
    717       if (!quite
     717      if (!quiet
    718718        cmucam2_write_h_packet (h_pkt); 
    719719    } 
     
    732732 
    733733void cmucam2_get_mean (cc3_color_info_pkt_t * s_pkt, 
    734                        bool poll_mode, bool line_mode, bool quite
     734                       bool poll_mode, bool line_mode, bool quiet
    735735{ 
    736736  cc3_image_t img; 
     
    751751        return; 
    752752      } 
    753       if (!quite
     753      if (!quiet
    754754        cmucam2_write_s_packet (s_pkt); 
    755755    } 
     
    765765void cmucam2_track_color (cc3_track_pkt_t * t_pkt, 
    766766                          bool poll_mode, 
    767                           bool line_mode, bool auto_led, bool quite
     767                          bool line_mode, bool auto_led, bool quiet
    768768{ 
    769769  cc3_image_t img; 
     
    789789        if (img.width % 8 != 0) 
    790790          lm_width++; 
    791         if (!quite
     791        if (!quiet
    792792          putchar (0xAA); 
    793793        if (cc3_g_pixbuf_frame.height > 255) 
     
    795795        else 
    796796          lm_height = cc3_g_pixbuf_frame.height; 
    797         if (!quite
     797        if (!quiet
    798798          putchar (img.width); 
    799         if (!quite
     799        if (!quiet
    800800          putchar (lm_height); 
    801801      } 
     
    811811          for (int j = 0; j < lm_width; j++) { 
    812812            if (lm[j] == 0xAA) { 
    813               if (!quite
     813              if (!quiet
    814814                putchar (0xAB); 
    815815            } 
    816816            else { 
    817               if (!quite
     817              if (!quiet
    818818                putchar (lm[j]); 
    819819            } 
     
    829829      cc3_track_color_scanline_finish (t_pkt); 
    830830      if (line_mode) { 
    831         if (!quite
     831        if (!quiet
    832832          putchar (0xAA); 
    833         if (!quite
     833        if (!quiet
    834834          putchar (0xAA); 
    835835      } 
     
    840840          cc3_led_set_off (0); 
    841841      } 
    842       if (!quite
     842      if (!quiet
    843843        cmucam2_write_t_packet (t_pkt); 
    844844    }