summaryrefslogtreecommitdiff
path: root/platforms/chibios/hardware_id.c
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/chibios/hardware_id.c')
-rw-r--r--platforms/chibios/hardware_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/chibios/hardware_id.c b/platforms/chibios/hardware_id.c
index 1097db5966..fb67a0a63e 100644
--- a/platforms/chibios/hardware_id.c
+++ b/platforms/chibios/hardware_id.c
@@ -4,7 +4,7 @@
#include <ch.h>
#include "hardware_id.h"
-hardware_id_t get_hardware_id(void) {
+__attribute__((weak)) hardware_id_t get_hardware_id(void) {
hardware_id_t id = {0};
#if defined(RP2040)
// Forward declare as including "hardware/flash.h" here causes more issues...