mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
removed delay because while loop waits until completion anyway.
This commit is contained in:
parent
f9b35795c7
commit
bcc5084564
@ -644,9 +644,7 @@ cc1020_calibrate(void)
|
||||
|
||||
/* Start calibration */
|
||||
cc1020_write_reg(CC1020_CALIBRATE, 0xB5);
|
||||
MS_DELAY(3);
|
||||
while((cc1020_read_reg(CC1020_STATUS) & CAL_COMPLETE) == 0);
|
||||
MS_DELAY(2);
|
||||
|
||||
/* Monitor lock */
|
||||
for(timeout_cnt = LOCK_TIMEOUT; timeout_cnt > 0; timeout_cnt--) {
|
||||
|
Loading…
Reference in New Issue
Block a user