summaryrefslogtreecommitdiff
path: root/bsp/sam7x
diff options
context:
space:
mode:
authortanek liang <[email protected]>2017-07-29 14:21:40 +0800
committertanek liang <[email protected]>2017-07-29 14:21:40 +0800
commitd793cfdef79650ded8180ec4ee9df022072bad4d (patch)
tree289eb8066c6e5c87c3dd0984e9c6def9c23c9a44 /bsp/sam7x
parentdcfaa9a909887a0957e7052b01187d140f6da2f8 (diff)
[bsp] fix incompatible type error for "finsh_system_init()"
Diffstat (limited to 'bsp/sam7x')
-rw-r--r--bsp/sam7x/applications/startup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/sam7x/applications/startup.c b/bsp/sam7x/applications/startup.c
index 441f41385f..ddf194b1d1 100644
--- a/bsp/sam7x/applications/startup.c
+++ b/bsp/sam7x/applications/startup.c
@@ -28,7 +28,7 @@ extern rt_err_t eth_system_device_init(void);
#ifdef RT_USING_FINSH
#include <finsh.h>
-extern void finsh_system_init(void);
+extern int finsh_system_init(void);
#endif
/**
@@ -51,7 +51,7 @@ extern int rt_application_init(void);
extern rt_err_t rt_hw_serial_init(void);
#endif
#ifdef RT_USING_FINSH
-extern void finsh_system_init(void);
+extern int finsh_system_init(void);
#endif
void led_flash()