Skip to content

Commit

Permalink
Fix misleading indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pingflood committed Jun 10, 2020
1 parent 0d25c3b commit 0271806
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions source/sound.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,14 +362,14 @@ void sound_timer(FIXED16_16 frequency_step, uint32_t channel)
else
fifo_length = ds->fifo_top + (32 - ds->fifo_base);

if (fifo_length <= 16)
{
if (dma[1].direct_sound_channel == channel)
dma_transfer(dma + 1);
if (fifo_length <= 16)
{
if (dma[1].direct_sound_channel == channel)
dma_transfer(dma + 1);

if (dma[2].direct_sound_channel == channel)
dma_transfer(dma + 2);
}
if (dma[2].direct_sound_channel == channel)
dma_transfer(dma + 2);
}
}

void sound_reset_fifo(uint32_t channel)
Expand Down

0 comments on commit 0271806

Please sign in to comment.