Skip to content

Commit

Permalink
dont print error for enoack
Browse files Browse the repository at this point in the history
  • Loading branch information
hudson-ayers committed Apr 28, 2020
1 parent 880b9de commit 832889d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tests/imix/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static void button_callback(__attribute__ ((unused)) int btn_num,
__attribute__ ((unused)) int arg2,
__attribute__ ((unused)) void *ud) {
if (val == 1) {
led_on(0); // kernel
led_on(0);
} else {
led_off(0);
}
Expand Down Expand Up @@ -114,7 +114,7 @@ static void send_ieee802154_packet(void) {
NULL, // unused since SEC_LEVEL_NONE
packet,
len);
if (err != TOCK_SUCCESS) {
if (err != TOCK_SUCCESS && err != TOCK_ENOACK) {
printf("Error sending packet %d\n", err);
}
}
Expand Down

0 comments on commit 832889d

Please sign in to comment.