Browse Source

console: All chips run USART1 on APB2 at APB2 speed.

Keir Fraser 2 years ago
parent
commit
651bffae95
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/console.c

+ 0 - 4
src/console.c

@@ -13,11 +13,7 @@
 #define BAUD 3000000 /* 3Mbaud */
 #endif
 
-#if MCU == STM32F1
-#define PCLK SYSCLK
-#else
 #define PCLK (APB2_MHZ * 1000000)
-#endif
 
 #define USART1_IRQ 37