Remove unused variable

This commit is contained in:
David Guillen Fandos 2021-08-21 16:59:07 +02:00
parent 77803adcac
commit 86b365f065
3 changed files with 0 additions and 3 deletions

View File

@ -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
View File

@ -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;

1
main.h
View File

@ -49,7 +49,6 @@ typedef struct
s32 count;
u32 reload;
u32 prescale;
u32 stop_cpu_ticks;
fixed8_24 frequency_step;
timer_ds_channel_type direct_sound_channels;
timer_irq_type irq;