Remove unused variable
This commit is contained in:
parent
77803adcac
commit
86b365f065
|
@ -266,7 +266,6 @@ static void trigger_timer(u32 timer_number, u32 value)
|
|||
if(timer[timer_number].status != TIMER_INACTIVE)
|
||||
{
|
||||
timer[timer_number].status = TIMER_INACTIVE;
|
||||
timer[timer_number].stop_cpu_ticks = cpu_ticks;
|
||||
}
|
||||
}
|
||||
write_ioreg(REG_TM0CNT + (timer_number * 2), value);
|
||||
|
|
1
main.c
1
main.c
|
@ -94,7 +94,6 @@ void init_main(void)
|
|||
dma[i].direct_sound_channel = DMA_NO_DIRECT_SOUND;
|
||||
timer[i].status = TIMER_INACTIVE;
|
||||
timer[i].reload = 0x10000;
|
||||
timer[i].stop_cpu_ticks = 0;
|
||||
}
|
||||
|
||||
timer[0].direct_sound_channels = TIMER_DS_CHANNEL_BOTH;
|
||||
|
|
Loading…
Reference in New Issue