Bladeren bron

Undo accidental change to other library

Morio 1 jaar geleden
bovenliggende
commit
c2bece64a8

+ 1 - 2
lib/ZuluSCSI_platform_GD32F205/ZuluSCSI_platform.cpp

@@ -202,8 +202,7 @@ void platform_init()
     if (TPI->ACPR == 0)
     {
         CoreDebug->DEMCR |= CoreDebug_DEMCR_TRCENA_Msk;
-        TPI->ACPR = SystemCoreClock / 115200 - 1; // COM port baudrate for SWO
-        // TPI->ACPR = SystemCoreClock / 2000000 - 1; // 2 Mbps baudrate for SWO
+        TPI->ACPR = SystemCoreClock / 2000000 - 1; // 2 Mbps baudrate for SWO
         // TPI->ACPR = SystemCoreClock / 30000000 - 1; // 30 Mbps baudrate for SWO
         TPI->SPPR = 2;
         TPI->FFCR = 0x100; // TPIU packet framing disabled

+ 0 - 2
lib/ZuluSCSI_platform_GD32F205/ZuluSCSI_v1_1_gpio.h

@@ -47,8 +47,6 @@
 #define SCSI_OUT_PLD4 GPIO_PIN_7
 
 // Control signals for timer based DMA acceleration
-// TIMER7_CH1 triggers DMACHA
-// TIMER7_CH3 triggers DMACHB
 #define SCSI_TIMER TIMER7
 #define SCSI_TIMER_RCU RCU_TIMER7
 #define SCSI_TIMER_OUT_PORT GPIOB