Eric Helgeson 4 месяцев назад
Родитель
Сommit
01606b44c3

+ 1 - 1
lib/BlueSCSI_platform_RP2MCU/BlueSCSI_platform_network.cpp

@@ -81,7 +81,7 @@ int platform_network_init(char *mac)
 	if (mac == NULL || (mac[0] == 0 && mac[1] == 0 && mac[2] == 0 && mac[3] == 0 && mac[4] == 0 && mac[5] == 0))
 	{
 		mac = (char *)&set_mac;
-		char octal_strings[8][4] = {0};
+		// char octal_strings[8][4] = {0};
 		memcpy(mac, defaultMAC, sizeof(set_mac));
 
 		// retain Dayna vendor but use a device id specific to this board

+ 3 - 2
lib/SCSI2SD/src/firmware/mode.c

@@ -263,12 +263,13 @@ static const uint8_t IomegaZip100VendorPage[] =
 	0x5c, 0xf, 0xff, 0xf
 };
 
-static const uint8_t IomegaZip250VendorPage[] =
+// TODO: Add support for Iomega Zip250
+/*static const uint8_t IomegaZip250VendorPage[] =
 {
 	0x2f, // Page Code
 	4, // Page Length
 	0x5c, 0xf, 0x3c, 0xf
-};
+};*/
 
 static void pageIn(int pc, int dataIdx, const uint8_t* pageData, int pageLen)
 {

+ 3 - 3
src/BlueSCSI_tape.cpp

@@ -116,7 +116,7 @@ static void doTapeRead(uint32_t blocks)
     }
 
     bool passed_filemarker = false;
-    bool end_of_tape = false;
+    // bool end_of_tape = false;
     if (unlikely(((uint64_t) img.tape_pos) - img.tape_mark_block_offset + blocks >= capacity))
     {
         // reading past a file, set blocks to end of file
@@ -131,8 +131,8 @@ static void doTapeRead(uint32_t blocks)
         {
             img.tape_load_next_file = true;
         }
-        else
-            end_of_tape = true;
+        // else
+        //     end_of_tape = true;
     }
 
     dbgmsg("------ Read tape ", (int)blocks, "x", (int)bytesPerSector, " tape position ",(int)img.tape_pos, " file position ", (int)(img.tape_pos - img.tape_mark_block_offset), " ends with file mark ", (int)img.tape_mark_index);