iptest, stm32_eth; console_printf() function prototype has changed.
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/ae4596c4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/ae4596c4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/ae4596c4 Branch: refs/heads/bluetooth5 Commit: ae4596c41b724c97a06bcee136fd9e1044fb1304 Parents: a819c9b Author: Marko Kiiskila <ma...@runtime.io> Authored: Wed May 3 11:09:15 2017 -0700 Committer: Marko Kiiskila <ma...@runtime.io> Committed: Wed May 3 11:09:15 2017 -0700 ---------------------------------------------------------------------- apps/iptest/src/main.c | 4 ++-- hw/drivers/lwip/stm32_eth/src/stm32_eth.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/ae4596c4/apps/iptest/src/main.c ---------------------------------------------------------------------- diff --git a/apps/iptest/src/main.c b/apps/iptest/src/main.c index 3ec726e..96820a2 100755 --- a/apps/iptest/src/main.c +++ b/apps/iptest/src/main.c @@ -299,9 +299,9 @@ net_cli(int argc, char **argv) console_printf(" %s/%d\n", addr_str, itf_addr.mifa_plen); } } -#ifndef ARCH_sim +#if MYNEWT_VAL(MCU_STM32F4) || MYNEWT_VAL(MCU_STM32F7) } else if (!strcmp(argv[1], "mii")) { - extern int stm32_mii_dump(void (*func)(const char *fmt, ...)); + extern int stm32_mii_dump(int (*func)(const char *fmt, ...)); stm32_mii_dump(console_printf); #endif http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/ae4596c4/hw/drivers/lwip/stm32_eth/src/stm32_eth.c ---------------------------------------------------------------------- diff --git a/hw/drivers/lwip/stm32_eth/src/stm32_eth.c b/hw/drivers/lwip/stm32_eth/src/stm32_eth.c index c9f028d..6aa8a8d 100755 --- a/hw/drivers/lwip/stm32_eth/src/stm32_eth.c +++ b/hw/drivers/lwip/stm32_eth/src/stm32_eth.c @@ -462,7 +462,7 @@ stm32_lwip_init(struct netif *nif) } int -stm32_mii_dump(void (*func)(const char *fmt, ...)) +stm32_mii_dump(int (*func)(const char *fmt, ...)) { int i; struct stm32_eth_state *ses = &stm32_eth_state;