mirror of
https://github.com/erichelgeson/BlueSCSI.git
synced 2024-09-29 00:54:35 +00:00
Minor white space fixes. Snapshot to VERSION
This commit is contained in:
parent
d0290a8cca
commit
c819d9b09b
@ -252,7 +252,7 @@ static const byte db2scsiid[256]={
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Log File
|
// Log File
|
||||||
#define VERSION "1.1-20220107"
|
#define VERSION "1.1-SNAPSHOT-20220107"
|
||||||
#define LOG_FILENAME "LOG.txt"
|
#define LOG_FILENAME "LOG.txt"
|
||||||
FsFile LOG_FILE;
|
FsFile LOG_FILE;
|
||||||
|
|
||||||
@ -1084,7 +1084,7 @@ byte onModeSenseCommand(byte scsi_cmd, byte dbd, int cmd2, uint32_t len)
|
|||||||
int a = 4;
|
int a = 4;
|
||||||
if(scsi_cmd == 0x5A) a = 8;
|
if(scsi_cmd == 0x5A) a = 8;
|
||||||
|
|
||||||
if(dbd == 0) {
|
if(dbd == 0) {
|
||||||
byte c[8] = {
|
byte c[8] = {
|
||||||
0,//Density code
|
0,//Density code
|
||||||
bc >> 16, bc >> 8, bc,
|
bc >> 16, bc >> 8, bc,
|
||||||
@ -1138,7 +1138,7 @@ byte onModeSenseCommand(byte scsi_cmd, byte dbd, int cmd2, uint32_t len)
|
|||||||
return 0x02;
|
return 0x02;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if(scsi_cmd == 0x5A) // MODE SENSE 10
|
if(scsi_cmd == 0x5A) // MODE SENSE 10
|
||||||
{
|
{
|
||||||
m_buf[1] = a - 2;
|
m_buf[1] = a - 2;
|
||||||
m_buf[7] = 0x08;
|
m_buf[7] = 0x08;
|
||||||
|
Loading…
Reference in New Issue
Block a user