|  | @@ -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;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -1083,8 +1083,8 @@ byte onModeSenseCommand(byte scsi_cmd, byte dbd, int cmd2, uint32_t len)
 | 
											
												
													
														|  |    int pageCode = cmd2 & 0x3F;
 |  |    int pageCode = cmd2 & 0x3F;
 | 
											
												
													
														|  |    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;
 |