Changeset 457

Show
Ignore:
Timestamp:
02/19/07 01:51:49 (2 years ago)
Author:
goodea
Message:

initial raw mode cleanups

Files:

Legend:

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

    r456 r457  
    187187static void print_ACK (void); 
    188188static void print_NCK (void); 
     189static void print_prompt (void); 
     190static void print_cr (void); 
    189191static void cmucam2_write_t_packet (cc3_track_pkt_t * pkt, cmucam2_servo_t *servo_settings); 
    190192static void cmucam2_write_h_packet (cc3_histogram_pkt_t * pkt); 
     
    306308    cc3_channel_t old_coi; 
    307309 
    308     printf (":"); 
     310    print_prompt(); 
    309311    error = false; 
    310312    if (demo_mode == true) { 
     
    324326 
    325327        print_ACK (); 
    326         printf ("\r"); 
     328        print_cr(); 
    327329        goto cmucam2_start; 
    328330        break; 
     
    12161218} 
    12171219 
    1218  
     1220void print_prompt () 
     1221
     1222  printf (":"); 
     1223
     1224 
     1225void print_cr () 
     1226
     1227  printf ("\r"); 
     1228
    12191229 
    12201230//int32_t cmucam2_get_command(cmucam2_command_t *cmd, int32_t *arg_list)