cc2420 and cc2430: add comment on why we discard tbiv
This commit is contained in:
parent
343326abee
commit
ca8fe618e7
3 changed files with 3 additions and 0 deletions
|
@ -217,6 +217,7 @@ flushrx(void)
|
|||
uint8_t dummy;
|
||||
|
||||
CC2520_READ_FIFO_BYTE(dummy);
|
||||
/* read and discard dummy to avoid "variable set but not used" warning */
|
||||
(void)dummy;
|
||||
CC2520_STROBE(CC2520_INS_SFLUSHRX);
|
||||
CC2520_STROBE(CC2520_INS_SFLUSHRX);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue