Ver Fonte

Enable phy mode GREENPAK_DMA if chip detected (#28)

Petteri Aimonen há 3 anos atrás
pai
commit
3a85cb13a0
1 ficheiros alterados com 1 adições e 1 exclusões
  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);