浏览代码

Enable phy mode GREENPAK_DMA if chip detected (#28)

Petteri Aimonen 3 年之前
父节点
当前提交
3a85cb13a0
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);