Changeset 1578 for trunk


Ignore:
Timestamp:
01/19/12 05:31:31 (16 months ago)
Author:
reyalp
Message:

fix for usb remote debug display from waterwingz in http://chdk.setepontos.com/index.php?topic=650.msg80134#msg80134

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/usb_remote.c

    r1568 r1578  
    370370                                        char buf[64] ; 
    371371                                        static int debug_print = 0 ; 
     372                                        static int startup_delay = 0 ; 
    372373                                        int i, buff_pos,  *buff_ptr ; 
    373374                                        // short tv=0; 
    374375 
     376                                if ( startup_delay < 100 ) startup_delay++ ;    // need to give things time to settle before using draw_string() 
     377                                else 
     378                                { 
    375379                                        if ( debug_print++ > 10000 ) debug_print = 0 ; 
    376380 
     
    438442                                        } 
    439443 
     444                                } 
    440445                        #endif 
    441446 
Note: See TracChangeset for help on using the changeset viewer.