Commit 306786ccd14dde0bcc2c6378bc54d03ef9ad6e3a
authorMichel Pollet <buserror@gmail.com>
Thu, 17 Dec 2009 20:25:01 +0000 (20:25 +0000)
committerMichel Pollet <buserror@gmail.com>
Thu, 17 Dec 2009 20:25:01 +0000 (20:25 +0000)
With the new log VCD handling, a much larger timeout is
perfectly fine.

Signed-off-by: Michel Pollet <buserror@gmail.com>
simavr/sim/sim_elf.c

index 4bd617a1e963825a62e9075a95cf45e5119995a3..92785e067019eecf9b7c0a61f685d9001f3242f5 100644 (file)
@@ -56,7 +56,7 @@ void avr_load_firmware(avr_t * avr, elf_firmware_t * firmware)
        avr_vcd_init(avr, 
                firmware->tracename[0] ? firmware->tracename: "gtkwave_trace.vcd",
                avr->vcd,
-               firmware->traceperiod >= 5 ? firmware->traceperiod : 5);
+               firmware->traceperiod >= 1000 ? firmware->traceperiod : 1000);
        
        printf("Creating VCD trace file '%s'\n", avr->vcd->filename);
        for (int ti = 0; ti < firmware->tracecount; ti++) {