hw: bsp: pic32mz2048 wi-fire: Fix ifdef to include uart.h Signed-off-by: Francois Berder <[email protected]>
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/9d7b29d1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/9d7b29d1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/9d7b29d1 Branch: refs/heads/bluetooth5 Commit: 9d7b29d1ffbded0050128c42c812ef914198cced Parents: 4c4ae1c Author: Francois Berder <[email protected]> Authored: Tue May 9 11:27:38 2017 +0200 Committer: Francois Berder <[email protected]> Committed: Wed May 10 13:22:56 2017 +0200 ---------------------------------------------------------------------- hw/bsp/pic32mz2048_wi-fire/src/os_bsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9d7b29d1/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 af46cea..17ac864 100644 --- a/hw/bsp/pic32mz2048_wi-fire/src/os_bsp.c +++ b/hw/bsp/pic32mz2048_wi-fire/src/os_bsp.c @@ -20,7 +20,8 @@ #include "hal/hal_bsp.h" #include "syscfg/syscfg.h" #include "uart/uart.h" -#if MYNEWT_VAL(UART_0) || MYNEWT_VAL(UART_1) +#if MYNEWT_VAL(UART_0) || MYNEWT_VAL(UART_1) || MYNEWT_VAL(UART_2) || \ + MYNEWT_VAL(UART_3) || MYNEWT_VAL(UART_4) || MYNEWT_VAL(UART_5) #include "uart_hal/uart_hal.h" #endif
