projects
/
SCSI2SD-V6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec00587
)
SCSI2SD: correctly manage media type
author
Laurent Vivier
<laurent@vivier.eu>
Tue, 22 Sep 2015 21:01:30 +0000
(23:01 +0200)
committer
Laurent Vivier
<laurent@vivier.eu>
Tue, 22 Sep 2015 21:39:49 +0000
(23:39 +0200)
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
software/SCSI2SD/src/mode.c
patch
|
blob
|
history
diff --git
a/software/SCSI2SD/src/mode.c
b/software/SCSI2SD/src/mode.c
index
b5551d1
..
5cdf5de
100755
(executable)
--- a/
software/SCSI2SD/src/mode.c
+++ b/
software/SCSI2SD/src/mode.c
@@
-210,7
+210,7
@@
static void doModeSense(
uint8_t mediumType = 0;
\r
uint8_t deviceSpecificParam = 0;
\r
uint8_t density = 0;
\r
- switch (scsiDev.target->cfg->deviceType
== CONFIG_OPTICAL
)
\r
+ switch (scsiDev.target->cfg->deviceType)
\r
{
\r
case CONFIG_FIXED:
\r
case CONFIG_REMOVEABLE:
\r