From 7efab521af23207bbdcb977d7f05e11d0c11c8a0 Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Thu, 1 Jun 2023 16:23:21 +0200 Subject: [PATCH] fix(DISCO_F072RB): USER_BTN definition Signed-off-by: Frederic Pillon --- .../STM32F0xx/F072R8T_F072RB(H-I-T)/variant_DISCO_F072RB.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/variants/STM32F0xx/F072R8T_F072RB(H-I-T)/variant_DISCO_F072RB.h b/variants/STM32F0xx/F072R8T_F072RB(H-I-T)/variant_DISCO_F072RB.h index 24a4fd3743..8d1aca9d2b 100644 --- a/variants/STM32F0xx/F072R8T_F072RB(H-I-T)/variant_DISCO_F072RB.h +++ b/variants/STM32F0xx/F072R8T_F072RB(H-I-T)/variant_DISCO_F072RB.h @@ -114,8 +114,8 @@ #define LED_RED PC6 //On-board user button -#ifndef LED_BUILTIN - #define LED_BUILTIN PA0 +#ifndef USER_BTN + #define USER_BTN PA0 #endif // SPI definitions