Skip to content

Commit 11c4bdf

Browse files
authored
Merge pull request #605 from doismellburning/fix/multi_modem-assert
Fix copy/paste error in assertion in multi_modem_process_rec_frame
2 parents 0b34cb1 + 551d95c commit 11c4bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/multi_modem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ void multi_modem_process_rec_frame (int chan, int subchan, int slice, unsigned c
321321

322322
assert (chan >= 0 && chan < MAX_RADIO_CHANS);
323323
assert (subchan >= 0 && subchan < MAX_SUBCHANS);
324-
assert (slice >= 0 && slice < MAX_SUBCHANS);
324+
assert (slice >= 0 && slice < MAX_SLICERS);
325325

326326
// Special encapsulation for AIS & EAS so they can be treated normally pretty much everywhere else.
327327

0 commit comments

Comments
 (0)