mirror of
https://github.com/erichelgeson/BlueSCSI.git
synced 2025-08-15 14:27:21 +00:00
Fix issue with incorrect LUN calc
This commit is contained in:
@@ -1248,8 +1248,8 @@ void loop()
|
|||||||
if(m_isBusReset) goto BusFree;
|
if(m_isBusReset) goto BusFree;
|
||||||
}
|
}
|
||||||
// LUN confirmation
|
// LUN confirmation
|
||||||
m_lun = m_sts>>5;
|
|
||||||
m_sts = cmd[1]&0xe0; // Preset LUN in status byte
|
m_sts = cmd[1]&0xe0; // Preset LUN in status byte
|
||||||
|
m_lun = m_sts>>5;
|
||||||
// HDD Image selection
|
// HDD Image selection
|
||||||
m_img = (HDDIMG *)0; // None
|
m_img = (HDDIMG *)0; // None
|
||||||
if( (m_lun <= NUM_SCSILUN) )
|
if( (m_lun <= NUM_SCSILUN) )
|
||||||
|
Reference in New Issue
Block a user