aboutsummaryrefslogtreecommitdiffstats
path: root/boards/RAISONANCE_REVA_STM8S/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'boards/RAISONANCE_REVA_STM8S/board.h')
-rw-r--r--boards/RAISONANCE_REVA_STM8S/board.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/boards/RAISONANCE_REVA_STM8S/board.h b/boards/RAISONANCE_REVA_STM8S/board.h
index 5434bd655..a3a508f5a 100644
--- a/boards/RAISONANCE_REVA_STM8S/board.h
+++ b/boards/RAISONANCE_REVA_STM8S/board.h
@@ -174,12 +174,14 @@
#define VAL_GPIOICR1 0xFF /* All pull-up. */
#define VAL_GPIOICR2 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_ */