Skip to content

Commit 0863dd6

Browse files
Aymane-STfpistm
authored andcommitted
core: declare initVariant() as weak
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com> Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent d5c463c commit 0863dd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/Common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ typedef uint8_t byte;
101101
typedef uint16_t word;
102102

103103
void init(void);
104-
void initVariant(void);
104+
void initVariant(void) __attribute__((weak));
105105

106106
#ifndef HOST
107107
int atexit(void (*func)()) __attribute__((weak));

0 commit comments

Comments
 (0)