Procházet zdrojové kódy

Enable phy mode GREENPAK_DMA if chip detected (#28)

Petteri Aimonen před 3 roky
rodič
revize
3a85cb13a0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);