Skip to content

Commit 3946e7f

Browse files
committed
adf: More accurate value for write_bc_ticks
1 parent 18ecd15 commit 3946e7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/image/adf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ static bool_t adf_open(struct image *im)
4141
im->tracklen_bc = DD_TRACKLEN_BC;
4242
im->ticks_per_cell = ((sampleclk_stk(im->stk_per_rev) * 16u)
4343
/ im->tracklen_bc);
44+
im->write_bc_ticks = im->ticks_per_cell / 16u;
4445

4546
im->nr_cyls = f_size(&im->fp) / (2 * 11 * 512);
4647

0 commit comments

Comments
 (0)