Skip to content

Commit 18ecd15

Browse files
committed
qd: Use sampleclk_ns() rather than hardcoding a sample count value
1 parent ae42450 commit 18ecd15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/image/qd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ static bool_t qd_open(struct image *im)
3333
im->qd.tb = 1;
3434
im->nr_cyls = 1;
3535
im->nr_sides = 1;
36-
im->write_bc_ticks = sampleclk_us(4) + 66; /* 4.917us */
36+
im->write_bc_ticks = sampleclk_ns(4917); /* 4.917us */
3737
im->ticks_per_cell = im->write_bc_ticks;
3838
im->sync = SYNC_none;
3939

0 commit comments

Comments
 (0)