From 20cdf3a9989320334a3e6da680d99c911cd47f31 Mon Sep 17 00:00:00 2001 From: Adrian L Lange Date: Sun, 14 Feb 2016 01:42:44 +0100 Subject: [PATCH] Add weak attribute to led_set --- common/led.h | 1 + 1 file changed, 1 insertion(+) diff --git a/common/led.h b/common/led.h index d5fc051b..8402c573 100644 --- a/common/led.h +++ b/common/led.h @@ -32,6 +32,7 @@ along with this program. If not, see . extern "C" { #endif +__attribute__((weak)) void led_set(uint8_t usb_led); #ifdef __cplusplus