Skip to content

Commit

Permalink
fix: wrong pll lock
Browse files Browse the repository at this point in the history
  • Loading branch information
everedero committed Mar 11, 2024
1 parent 9dc7908 commit f430281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cc2500/cc2500.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ static int cc2500_rssi_process(const struct device *dev)
cc2500_set_channel_process(dev, current_chan);
k_msleep(5);
/* Wait for PLL lock */
while (cc2500_is_pll_locked(dev)) {
while (!cc2500_is_pll_locked(dev)) {
k_usleep(100);
}
/* Single read */
Expand Down

0 comments on commit f430281

Please sign in to comment.