src/state.c

changeset 97
240e195e4bed
parent 80
9581358e92b0
child 101
e20f02519835
     1.1 --- a/src/state.c	Tue Mar 01 21:33:32 2011 +0000
     1.2 +++ b/src/state.c	Wed Mar 02 07:16:32 2011 +0000
     1.3 @@ -22,7 +22,7 @@
     1.4  	state.leds = 0;
     1.5  	state.genstat = 0;				// FIXME: check this
     1.6  	state.bsr0 = state.bsr1 = 0;	// FIXME: check this
     1.7 -
     1.8 +	state.timer_enabled = state.timer_asserted = false;
     1.9  	// Allocate Base RAM, making sure the user has specified a valid RAM amount first
    1.10  	// Basically: 512KiB minimum, 2MiB maximum, in increments of 512KiB.
    1.11  	if ((base_ram_size < 512*1024) || (base_ram_size > 2048*1024) || ((base_ram_size % (512*1024)) != 0))