1
0

Allow overriding get_hardware_id(). (#24051)

This commit is contained in:
Nick Brassel
2024-07-05 11:22:08 +10:00
committed by GitHub
parent cd22b8a945
commit 3a711f4cfa
3 changed files with 3 additions and 3 deletions

View File

@@ -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...