From 7e1cbd844337a38c509e4f3dbb86252906dbe89c Mon Sep 17 00:00:00 2001 From: Aymane Bahssain Date: Fri, 23 Jan 2026 16:31:35 +0100 Subject: [PATCH] core: declare initVariant() as weak Signed-off-by: Aymane Bahssain --- api/Common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/Common.h b/api/Common.h index 9b28f40a..dfd54e35 100644 --- a/api/Common.h +++ b/api/Common.h @@ -98,7 +98,7 @@ typedef uint8_t byte; typedef uint16_t word; void init(void); -void initVariant(void); +void initVariant(void) __attribute__((weak)); #ifndef HOST int atexit(void (*func)()) __attribute__((weak));