mirror of
https://github.com/fhgwright/SCSI2SD.git
synced 2025-02-11 02:31:15 +00:00
SCSI2SD: correctly manage media type
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
ec0058772c
commit
6d5c68d676
@ -210,7 +210,7 @@ static void doModeSense(
|
||||
uint8_t mediumType = 0;
|
||||
uint8_t deviceSpecificParam = 0;
|
||||
uint8_t density = 0;
|
||||
switch (scsiDev.target->cfg->deviceType == CONFIG_OPTICAL)
|
||||
switch (scsiDev.target->cfg->deviceType)
|
||||
{
|
||||
case CONFIG_FIXED:
|
||||
case CONFIG_REMOVEABLE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user