Skip to content

Commit a8cc2ea

Browse files
Per Mårtenssonkeirf
authored andcommitted
Add a fourth drive on the shugart bus (index 3)
1 parent cc9b130 commit a8cc2ea

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/greaseweazle/tools/util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def level(letter):
6969

7070
drive_desc = """\
7171
DRIVE: Drive (and bus) identifier:
72-
0 | 1 | 2 :: Shugart bus unit
72+
0 | 1 | 2 | 3 :: Shugart bus unit
7373
A | B :: IBM/PC bus unit
7474
"""
7575

@@ -132,6 +132,7 @@ def __call__(self, letter: str) -> Drive:
132132
'0': (USB.BusType.Shugart, 0),
133133
'1': (USB.BusType.Shugart, 1),
134134
'2': (USB.BusType.Shugart, 2),
135+
'3': (USB.BusType.Shugart, 3),
135136
}
136137
if not letter.upper() in types:
137138
raise argparse.ArgumentTypeError("invalid drive letter: '%s'"

0 commit comments

Comments
 (0)