mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2025-01-09 01:30:14 +02:00
tools/atrf-txrx/atrf-txrx.c (enter_test_mode_231): clean up and exit on error
This commit is contained in:
parent
8d487739b7
commit
110d5abe32
@ -230,7 +230,8 @@ static void enter_test_mode_231(struct atrf_dsc *dsc, uint8_t cont_tx)
|
||||
case CONT_TX_M2M:
|
||||
fprintf(stderr,
|
||||
"-2 MHz mode is not supported by the AT86RF231\n");
|
||||
break;
|
||||
atrf_close(dsc);
|
||||
exit(1);
|
||||
case CONT_TX_M500K:
|
||||
memset(buf, 0, sizeof(buf));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user