summary refs log tree commit diff
path: root/src/drive.h
diff options
context:
space:
mode:
authorMaxwell Beck <max@rastertail.net>2025-07-19 18:02:26 -0500
committerMaxwell Beck <max@rastertail.net>2025-07-19 18:02:26 -0500
commit38f2755daa2456a4ebcaadcf3ddd2ff88e4fa838 (patch)
tree7fd71d1275279160f3769640d4d0c824b00af5dd /src/drive.h
parent51e0bafe0304b201652fd32564138d6ca78a819d (diff)
fix: Various drive corrections
Fixes turn-disk crashes.
Diffstat (limited to 'src/drive.h')
-rw-r--r--src/drive.h4
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;