From 675adde160fba196043bb471ae36a222238db49e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 19 Dec 2010 12:50:56 +0000 Subject: STM8 board files and demos updated. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2509 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- boards/ST_STM8S_DISCOVERY/board.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'boards/ST_STM8S_DISCOVERY/board.h') diff --git a/boards/ST_STM8S_DISCOVERY/board.h b/boards/ST_STM8S_DISCOVERY/board.h index 06035f820..38bebe6e8 100644 --- a/boards/ST_STM8S_DISCOVERY/board.h +++ b/boards/ST_STM8S_DISCOVERY/board.h @@ -111,12 +111,14 @@ #define VAL_GPIOGCR1 0xFF /* All pull-up or push-pull. */ #define VAL_GPIOGCR2 0 +#if !defined(_FROM_ASM_) #ifdef __cplusplus extern "C" { #endif - void hwinit(void); + void boardInit(void); #ifdef __cplusplus } #endif +#endif /* _FROM_ASM_ */ #endif /* _BOARD_H_ */ -- cgit v1.2.3