소스 검색

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);