Skip to content

Commit 377366e

Browse files
authored
Update snap_poke.c (#134)
Allow for cards with numbers 5-7 (possible on IC922) to be used in snap_poke
1 parent 28130a8 commit 377366e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

software/tools/snap_poke.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ int main (int argc, char* argv[])
163163
rbval = ~val;
164164
switch_cpu (cpu, verbose_flag);
165165

166-
if ((card_no < 0) || (card_no > 4)) {
166+
if ((card_no < 0) || (card_no > 7)) {
167167
fprintf (stderr, "err: (%d) is a invalid card number!\n",
168168
card_no);
169169
usage (argv[0]);

0 commit comments

Comments
 (0)