1.1 --- a/examples/demo/main.c Tue Oct 23 21:34:54 2018 +0200
1.2 +++ b/examples/demo/main.c Tue Oct 23 22:11:05 2018 +0200
1.3 @@ -21,7 +21,11 @@
1.4 #include "pic32_c.h"
1.5 #include "init.h"
1.6 #include "debug.h"
1.7 +
1.8 +/* Specific functionality. */
1.9 +
1.10 #include "main.h"
1.11 +#include "devconfig.h"
1.12
1.13 static const char message1[] = "Hello!\r\n";
1.14
1.15 @@ -148,7 +152,7 @@
1.16 /* Set UART interrupt priority above CPU priority to process events and to
1.17 enable the first DMA channel. */
1.18
1.19 - uart_init(1, 115200);
1.20 + uart_init(1, FPB, 115200);
1.21 uart_init_interrupt(1, UxRIF, 7, 3);
1.22 uart_on(1);
1.23