diff options
author | pi1024e <49824824+pi1024e@users.noreply.github.com> | 2020-08-29 13:18:35 -0400 |
---|---|---|
committer | pi1024e <49824824+pi1024e@users.noreply.github.com> | 2020-08-29 13:18:35 -0400 |
commit | bdb976dc27b00a7e86c0bda10911c67c9d296c35 (patch) | |
tree | e2a7f40a9dfe354f8e7fc1f79732fb1b05cb1594 /src | |
parent | 3ae3bea28f41ae5b6a7a6bbf04b056e0dd10dfb5 (diff) |
fixed mistakes
Diffstat (limited to 'src')
-rw-r--r-- | src/AgbRfu_LinkManager.c | 2 | ||||
-rw-r--r-- | src/m4a.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/AgbRfu_LinkManager.c b/src/AgbRfu_LinkManager.c index 6fc8dc89a..42cc9aea3 100644 --- a/src/AgbRfu_LinkManager.c +++ b/src/AgbRfu_LinkManager.c @@ -352,7 +352,7 @@ static bool8 rfu_LMAN_linkWatcher(u16 REQ_commandID) { for (i = 0; i < RFU_CHILD_MAX; i++) { - if ((bm_linkLossSlot) & (1 << i)) + if (bm_linkLossSlot & (1 << i)) { lman.linkRecoveryTimer.active |= (1 << i); lman.linkRecoveryTimer.count[i] = lman.linkRecoveryTimer.count_max; @@ -431,8 +431,6 @@ void m4aSoundMode(u32 mode) soundInfo->maxChans = temp >> SOUND_MODE_MAXCHN_SHIFT; - temp = MAX_DIRECTSOUND_CHANNELS; - for (temp = MAX_DIRECTSOUND_CHANNELS, chan = soundInfo->chans; temp != 0; temp--,chan++) { chan->status = 0; |