Commit d75aeb21 authored by Vladimir Serbinenko's avatar Vladimir Serbinenko
Browse files

Reuse type declaration in terakdisk

parent 190e081f
......@@ -17,19 +17,7 @@ typedef enum {
lateF = 020000, syncF = 040000, errF = 0100000
} disk_flg;
/* Why bother, let's memory-map the files! */
typedef struct {
unsigned length;
unsigned short * image;
unsigned short * ptr;
unsigned char track;
disk_cmd cmd;
unsigned char ro;
unsigned char motor;
unsigned char inprogress;
unsigned char crc;
unsigned char cursec;
} tdisk_t;
typedef disk_t tdisk_t;
tdisk_t tdisks[4];
static int selected = -1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment