1.1 --- a/init.c Mon Oct 22 13:24:20 2018 +0200
1.2 +++ b/init.c Mon Oct 22 18:25:21 2018 +0200
1.3 @@ -21,6 +21,10 @@
1.4 #include "pic32_c.h"
1.5 #include "init.h"
1.6
1.7 +/* Application-specific configuration. */
1.8 +
1.9 +#include "devconfig.h"
1.10 +
1.11
1.12
1.13 /* Basic memory and pin initialisation. */
1.14 @@ -491,9 +495,7 @@
1.15
1.16 void uart_init(int uart, uint32_t baudrate)
1.17 {
1.18 - /* NOTE: Configured in the initial payload. */
1.19 -
1.20 - uint32_t FPB = 24000000;
1.21 + /* FPB is configured in the devconfig.h file and set in the start.S file. */
1.22
1.23 if ((uart < UARTMIN) || (uart > UARTMAX))
1.24 return;