Skip to content

Commit

Permalink
SQUASHME: added missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseichinger committed Oct 21, 2014
1 parent a19c344 commit 02fed6d
Show file tree
Hide file tree
Showing 4 changed files with 541 additions and 2 deletions.
7 changes: 5 additions & 2 deletions drivers/at86rf231/at86rf231_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,11 @@ netdev_802154_tx_status_t at86rf231_transmit_tx_buf(netdev_t *dev)
}

uint8_t trac_status;
while ((trac_status = at86rf231_get_trac_status())
== AT86RF231_TRX_STATE__TRAC_INVALID) {};
do {
trac_status = at86rf231_reg_read(AT86RF231_REG__TRX_STATE);
trac_status &= AT86RF231_TRX_STATE_MASK__TRAC;
}
while (trac_status == AT86RF231_TRX_STATE__TRAC_INVALID);

switch (trac_status) {
case AT86RF231_TRX_STATE__TRAC_CHANNEL_ACCESS_FAILURE:
Expand Down
Loading

0 comments on commit 02fed6d

Please sign in to comment.