Skip to content

Commit 551d95c

Browse files
Fix copy/paste error in assertion in multi_modem_process_rec_frame
They happen to both be 9 right now, fortunately!
1 parent fa3c231 commit 551d95c

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)