Skip to content

Commit

Permalink
Fix compilation error against libboost 1.67
Browse files Browse the repository at this point in the history
  • Loading branch information
clebig committed Aug 12, 2019
1 parent 6c9567c commit e490d2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions host/lms6002d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ double lms6002d_dev::txrx_pll_tune(uint8_t reg, double ref_clock, double out_fre
for (int i = 0; i < 64; i++) {
// Update VCOCAP
lms_write_bits(reg + 0x9, 0x3f, i);
usleep(50);
usleep(long(50));

int comp = read_reg(reg + 0x0a);
switch (comp >> 6) {
Expand Down Expand Up @@ -360,7 +360,7 @@ int lms6002d_dev::general_dc_calibration_loop(uint8_t dc_addr, uint8_t calibrati
if (verbosity > 1) printf("cnt=%d\n", try_cnt_limit);

// Wait for 6.4(1.6) us
usleep(6.4);
usleep(long(6.4));

// Read DC_CLBR_DONE
reg_val = read_reg(calibration_reg_base+0x01);
Expand Down

0 comments on commit e490d2c

Please sign in to comment.