diff options
author | Maxwell Beck <max@rastertail.net> | 2025-07-19 18:02:26 -0500 |
---|---|---|
committer | Maxwell Beck <max@rastertail.net> | 2025-07-19 18:02:26 -0500 |
commit | 38f2755daa2456a4ebcaadcf3ddd2ff88e4fa838 (patch) | |
tree | 7fd71d1275279160f3769640d4d0c824b00af5dd /src/drive.h | |
parent | 51e0bafe0304b201652fd32564138d6ca78a819d (diff) |
fix: Various drive corrections
Fixes turn-disk crashes.
Diffstat (limited to 'src/drive.h')
-rw-r--r-- | src/drive.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |