diff options
Diffstat (limited to 'boards/ST_STM8S_DISCOVERY/board.h')
-rw-r--r-- | boards/ST_STM8S_DISCOVERY/board.h | 4 |
1 files changed, 3 insertions, 1 deletions
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_ */
|