aboutsummaryrefslogtreecommitdiff
path: root/example/blink.c
diff options
context:
space:
mode:
authorUwe Hermann2009-07-20 15:16:14 +0200
committerUwe Hermann2009-07-20 15:16:14 +0200
commit5cdbb466fa3cd2cbd5c3722adfc4a6cc9ba170c3 (patch)
tree2091fd1fa4dfd36743a8addfb0845a3efd229075 /example/blink.c
parent3eb5397d8d3d44a0cc7eb4cadc015adae566e31e (diff)
Make example code build again (s/RCC_IOPCEN/IOPCEN).
Diffstat (limited to 'example/blink.c')
-rw-r--r--example/blink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/blink.c b/example/blink.c
index 9c8529c..7c7da78 100644
--- a/example/blink.c
+++ b/example/blink.c
@@ -24,7 +24,7 @@ int main(void)
int i;
/* Enable GPIOC clock. */
- RCC_APB2ENR = RCC_IOPCEN;
+ RCC_APB2ENR = IOPCEN;
/* Set GPIO12 (in GPIO port C) to 'output push-pull'. */
/* Manually: */