Skip to content

Commit

Permalink
Merge pull request #446 from tyler-potyondy/15.4-dev
Browse files Browse the repository at this point in the history
Revert libtock-sync IEEE802154 tx
  • Loading branch information
bradjc committed Jun 21, 2024
2 parents bb2e9c1 + 1966278 commit 2dfc653
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions libtock-sync/net/ieee802154.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,7 @@ returncode_t libtocksync_ieee802154_send_raw(
returncode_t ret = libtock_ieee802154_send_raw(payload, len, ieee802154_send_raw_done_cb);
if (ret != RETURNCODE_SUCCESS) return ret;

// Wait for the frame to be sent
returncode_t sync_timeout_ret = libtocksync_alarm_yield_for_with_timeout(&send_result_raw.fired, 100);
if (sync_timeout_ret != RETURNCODE_SUCCESS) {
return sync_timeout_ret;
}
yield_for(&send_result_raw.fired);

return tock_status_to_returncode(send_result_raw.status);
}
Expand Down

0 comments on commit 2dfc653

Please sign in to comment.