projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test function prototype.
[bertos.git]
/
boards
/
stm32-p103
/
hw
/
hw_led.h
diff --git
a/boards/stm32-p103/hw/hw_led.h
b/boards/stm32-p103/hw/hw_led.h
index e230efb0d030195e4ca02d3aa1c8fb9cd06cdbf0..631c4fd625f05572e4d1b844769b53539634986e 100644
(file)
--- 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
#ifndef HW_LED_H
#define HW_LED_H
+#include <cfg/macros.h>
+
#include <io/stm32.h>
#include <io/stm32.h>
+
#include <drv/gpio_stm32.h>
#include <drv/clock_stm32.h>
#include <drv/gpio_stm32.h>
#include <drv/clock_stm32.h>
-#define LED_PIN
(1 <<
12)
+#define LED_PIN
BV(
12)
#define LED_GPIO_BASE ((struct stm32_gpio *)GPIOC_BASE)
#define LED_ON() \
#define LED_GPIO_BASE ((struct stm32_gpio *)GPIOC_BASE)
#define LED_ON() \