Explorar o código

Enable phy mode GREENPAK_DMA if chip detected (#28)

Petteri Aimonen %!s(int64=3) %!d(string=hai) anos
pai
achega
3a85cb13a0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/AzulSCSI_platform_GD32F205/scsiPhy.cpp

+ 1 - 1
lib/AzulSCSI_platform_GD32F205/scsiPhy.cpp

@@ -120,7 +120,7 @@ static void selectPhyMode()
 
     // TODO: Change to BEST_AVAILABLE once accelerated modes are tested enough.
     // int default_mode = PHY_MODE_BEST_AVAILABLE;
-    int default_mode = PHY_MODE_PIO;
+    int default_mode = PHY_MODE_GREENPAK_DMA;
 
     // Read overriding setting from configuration file
     int wanted_mode = ini_getl("SCSI", "PhyMode", default_mode, CONFIGFILE);