Skip to content

Commit 29cdb1c

Browse files
e-rkrlubos
authored andcommitted
samples: peripheral: 802154_phy_test: Remove API migration code
The nrf-802154 driver now returns an error code instead of bool. The migration code can be removed. Signed-off-by: Rafał Kuźnia <[email protected]>
1 parent 7b7e2c9 commit 29cdb1c

File tree

1 file changed

+0
-4
lines changed
  • samples/peripheral/802154_phy_test/src

1 file changed

+0
-4
lines changed

samples/peripheral/802154_phy_test/src/rf_proc.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -480,11 +480,7 @@ bool ptt_rf_send_packet_ext(const uint8_t *pkt, ptt_pkt_len_t len, bool cca)
480480
.frame_props = NRF_802154_TRANSMITTED_FRAME_PROPS_DEFAULT_INIT,
481481
.cca = cca
482482
};
483-
#ifdef NRF_802154_TX_FUNCTIONS_RETURN_ERROR_CODE
484483
ret = nrf_802154_transmit_raw(temp_tx_pkt, &metadata) == NRF_802154_TX_ERROR_NONE;
485-
#else
486-
ret = nrf_802154_transmit_raw(temp_tx_pkt, &metadata);
487-
#endif
488484
}
489485

490486
return ret;

0 commit comments

Comments
 (0)