faster baudrate for pkernel
[pyfrprog.git] / pkernel / uart.c
index 3d42718fb04db54f62ec0b2acd5757631fa9a40a..53106a6107ed9c8af522bf06d16687bbeec88c6c 100644 (file)
@@ -3,7 +3,7 @@
 void InitUart4(void)
 {
        // Initialize UART asynchronous mode
-       BGR04 = 416; // 38400 Baud @ 16MHz
+       BGR04 = 138; // 115200 Baud @ 16MHz
        SCR04 = 0x17; // 8N1
        SMR04 = 0x0d; // enable SOT3, Reset, normal mode
        SSR04 = 0x00; // LSB first