specifically set DMTCNT as the default triggers a warning
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/54a8c92a Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/54a8c92a Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/54a8c92a Branch: refs/heads/bluetooth5 Commit: 54a8c92ad8ae3ff5b102cd30a3cd20fd9f77c866 Parents: ecf379b Author: julian <julian.ing...@imgtec.com> Authored: Thu May 4 16:57:40 2017 +0100 Committer: julian <julian.ing...@imgtec.com> Committed: Thu May 4 16:58:45 2017 +0100 ---------------------------------------------------------------------- hw/bsp/pic32mz2048_wi-fire/src/os_bsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/54a8c92a/hw/bsp/pic32mz2048_wi-fire/src/os_bsp.c ---------------------------------------------------------------------- diff --git a/hw/bsp/pic32mz2048_wi-fire/src/os_bsp.c b/hw/bsp/pic32mz2048_wi-fire/src/os_bsp.c index 4b9c0a6..af46cea 100644 --- a/hw/bsp/pic32mz2048_wi-fire/src/os_bsp.c +++ b/hw/bsp/pic32mz2048_wi-fire/src/os_bsp.c @@ -31,7 +31,7 @@ /* JTAG on, WDT off */ #pragma config JTAGEN=1, FWDTEN=0 /* DMT off, primary oscilator EC mode, PLL */ -#pragma config FDMTEN=0, POSCMOD=0, FNOSC=1 +#pragma config FDMTEN=0, POSCMOD=0, FNOSC=1, DMTCNT=1 /* 24MHz posc input to pll, div by 3, multiply by 50, div by 2 -> 200mhz*/ #pragma config FPLLODIV=1, FPLLMULT=49, FPLLICLK=0, FPLLRNG=1, FPLLIDIV=2 /* USB off */