diff options
author | Nick Brassel <nick@tzarc.org> | 2024-07-05 11:22:08 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-05 11:22:08 +1000 |
commit | 3a711f4cfa71419a22a22139d68c647ffa3f1fe4 (patch) | |
tree | 133c13e277b241646c32bd19d1305eeda5e219d3 /platforms/chibios | |
parent | cd22b8a9458fbe17b68bdd360822db696b559dfe (diff) |
Allow overriding `get_hardware_id()`. (#24051)
Diffstat (limited to 'platforms/chibios')
-rw-r--r-- | platforms/chibios/hardware_id.c | 2 |
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... |