Skip to content

Commit 02fed6d

Browse files
SQUASHME: added missing files
1 parent a19c344 commit 02fed6d

File tree

4 files changed

+541
-2
lines changed

4 files changed

+541
-2
lines changed

drivers/at86rf231/at86rf231_tx.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,11 @@ netdev_802154_tx_status_t at86rf231_transmit_tx_buf(netdev_t *dev)
172172
}
173173

174174
uint8_t trac_status;
175-
while ((trac_status = at86rf231_get_trac_status())
176-
== AT86RF231_TRX_STATE__TRAC_INVALID) {};
175+
do {
176+
trac_status = at86rf231_reg_read(AT86RF231_REG__TRX_STATE);
177+
trac_status &= AT86RF231_TRX_STATE_MASK__TRAC;
178+
}
179+
while (trac_status == AT86RF231_TRX_STATE__TRAC_INVALID);
177180

178181
switch (trac_status) {
179182
case AT86RF231_TRX_STATE__TRAC_CHANNEL_ACCESS_FAILURE:

0 commit comments

Comments
 (0)