From cd46b1fc07ffe9750e97e44b521f6b55ce9799c2 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 22 Mar 2015 08:15:26 -0600 Subject: [PATCH] PIC32MZ: Add missing call to initialize peripheral clocking. From Kristopher Tate --- arch/mips/src/pic32mz/pic32mz-lowinit.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/mips/src/pic32mz/pic32mz-lowinit.c b/arch/mips/src/pic32mz/pic32mz-lowinit.c index c8f2839c9c..14aeee64e6 100644 --- a/arch/mips/src/pic32mz/pic32mz-lowinit.c +++ b/arch/mips/src/pic32mz/pic32mz-lowinit.c @@ -398,10 +398,12 @@ void pic32mz_lowinit(void) /* Enable caching in KSEG0 */ - pic32mz_k0cache();; + pic32mz_k0cache(); /* Configure peripheral clocking */ + pic32mz_pbclk(); + /* Initialize a console (probably a serial console) */ pic32mz_consoleinit();