X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=boards%2Fstm32-p103%2Fhw%2Fhw_led.h;h=631c4fd625f05572e4d1b844769b53539634986e;hb=15810459b8f5fb09b12cef6f8e4d4e64d167087b;hp=e230efb0d030195e4ca02d3aa1c8fb9cd06cdbf0;hpb=a256e501c16b63a423267f8621d6bdcda20d3f3a;p=bertos.git diff --git a/boards/stm32-p103/hw/hw_led.h b/boards/stm32-p103/hw/hw_led.h index e230efb0..631c4fd6 100644 --- a/boards/stm32-p103/hw/hw_led.h +++ b/boards/stm32-p103/hw/hw_led.h @@ -38,11 +38,14 @@ #ifndef HW_LED_H #define HW_LED_H +#include + #include + #include #include -#define LED_PIN (1 << 12) +#define LED_PIN BV(12) #define LED_GPIO_BASE ((struct stm32_gpio *)GPIOC_BASE) #define LED_ON() \