From: Michel Pollet Date: Thu, 17 Dec 2009 20:27:10 +0000 (+0000) Subject: ledramp: Use a larger VCD update window X-Git-Tag: v1.0a1~43 X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=2467b8b7d75cf7d2adde82dac31f8ad3cc1a7f10;p=sx%2Fsimavr.git ledramp: Use a larger VCD update window No longer needs a 5usec window, the timer does the job Signed-off-by: Michel Pollet --- diff --git a/examples/board_ledramp/ledramp.c b/examples/board_ledramp/ledramp.c index b1af8d4..59fa967 100644 --- a/examples/board_ledramp/ledramp.c +++ b/examples/board_ledramp/ledramp.c @@ -183,7 +183,7 @@ int main(int argc, char *argv[]) * Pressing "r" and "s" during the demo will start and stop recording * the pin changes */ - avr_vcd_init(avr, "gtkwave_output.vcd", &vcd_file, 1000 /* usec */); + avr_vcd_init(avr, "gtkwave_output.vcd", &vcd_file, 100000 /* usec */); avr_vcd_add_signal(&vcd_file, avr_io_getirq(avr, AVR_IOCTL_IOPORT_GETIRQ('B'), IOPORT_IRQ_PIN_ALL), 8 /* bits */ , "portb" );