Skip to content

Commit

Permalink
wip: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
everedero committed Mar 7, 2024
1 parent ce9ef33 commit a85bdbb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/cc2500/cc2500.c
Original file line number Diff line number Diff line change
Expand Up @@ -401,11 +401,9 @@ static int cc2500_read(const struct device *dev, uint8_t *buffer, uint8_t data_l
cc2500_flush_rx(dev);
cc2500_set_pkt_len(dev, data_len);
cc2500_set_rx(dev);
k_msleep(1);
while (!cc2500_has_data(dev)){
k_msleep(1);
}
status = cc2500_data_len(dev);
if (!cc2500_is_crc_ok(dev)) {
LOG_WRN("Wrong CRC");
}
Expand Down

0 comments on commit a85bdbb

Please sign in to comment.