aboutsummaryrefslogtreecommitdiffstats
path: root/boards/ST_STM8L_DISCOVERY/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'boards/ST_STM8L_DISCOVERY/board.h')
-rw-r--r--boards/ST_STM8L_DISCOVERY/board.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/boards/ST_STM8L_DISCOVERY/board.h b/boards/ST_STM8L_DISCOVERY/board.h
index 3355c28c9..4dfb28ca4 100644
--- a/boards/ST_STM8L_DISCOVERY/board.h
+++ b/boards/ST_STM8L_DISCOVERY/board.h
@@ -157,12 +157,14 @@
} \
}
+#if !defined(_FROM_ASM_)
#ifdef __cplusplus
extern "C" {
#endif
- void hwinit(void);
+ void boardInit(void);
#ifdef __cplusplus
}
#endif
+#endif /* _FROM_ASM_ */
#endif /* _BOARD_H_ */