Skip to content

Commit

Permalink
switching back to GDO0 0x06 (asserts on sync, deasserts at end of packet
Browse files Browse the repository at this point in the history
  • Loading branch information
chrohner committed Jun 2, 2016
1 parent 802de6d commit 3ddc5ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion platform/uunode/cc26xx/srr-const.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static const uint8_t cc2500_srr_version[] = {

static const uint8_t cc2500_srr_config[] = {

CC2500_IOCFG2, 0x1B, // PA_PD
CC2500_IOCFG2, IOCFG_GDO_CFG_CS, // carrier sense
CC2500_IOCFG0, IOCFG_GDO_CFG_PKT_SYNCW_EOP,

CC2500_FIFOTHR, 0x15, // (TX: 1) RX: 64
Expand Down
2 changes: 1 addition & 1 deletion platform/uunode/cc26xx/srr.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ srr_handle_interrupt(uint8_t ioid) {
srr_cmd(CC2500_SRX);
break;
default:
// under/overflow or other states
// under/overflow (or unexpected state)
srr_cmd(CC2500_SIDLE);
srr_cmd(CC2500_SNOP);
srr_cmd(CC2500_SFRX);
Expand Down

0 comments on commit 3ddc5ff

Please sign in to comment.