Skip to content

Commit 528742a

Browse files
committed
datageneral: Remove redundant sector extraction
1 parent 32073fe commit 528742a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/greaseweazle/codec/datageneral/datageneral.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ def decode_flux(self, track: HasFlux, pll: Optional[PLL]=None) -> None:
116116
s, e = hardsector_bits[hsec_id], hardsector_bits[hsec_id+1]
117117
# Skip first 352 cells (704us), see Figure G-1
118118
s += 352
119-
data = decode(bits[s:e].tobytes())
120119

121120
offs = bits[s:e].search(sync)
122121
if (off := next(offs, None)) is None:

0 commit comments

Comments
 (0)