From 38f2755daa2456a4ebcaadcf3ddd2ff88e4fa838 Mon Sep 17 00:00:00 2001 From: Maxwell Beck Date: Sat, 19 Jul 2025 18:02:26 -0500 Subject: fix: Various drive corrections Fixes turn-disk crashes. --- src/drive.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drive.h') diff --git a/src/drive.h b/src/drive.h index d2e8dd8..a555f15 100644 --- a/src/drive.h +++ b/src/drive.h @@ -7,12 +7,12 @@ #define DRIVE_LOOKAHEAD 8 extern const uint8_t SECTORS_PER_TRACK[35]; -extern const uint8_t BITRATES[4]; +extern const uint16_t BITRATES[4]; extern const uint8_t GCR_CONV[16]; typedef struct drive_s { volatile bool spinning; - uint8_t timer; + uint16_t timer; uint8_t *image; volatile uint8_t track; -- cgit 1.4.1