Skip to content

Commit 7e1cbd8

Browse files
committed
core: declare initVariant() as weak
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
1 parent cd91833 commit 7e1cbd8

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
@@ -98,7 +98,7 @@ typedef uint8_t byte;
9898
typedef uint16_t word;
9999

100100
void init(void);
101-
void initVariant(void);
101+
void initVariant(void) __attribute__((weak));
102102

103103
#ifndef HOST
104104
int atexit(void (*func)()) __attribute__((weak));

0 commit comments

Comments
 (0)