aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.c
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2013-02-26 19:33:42 -0800
committerPiotr Esden-Tempski2013-02-26 19:33:42 -0800
commit3d3ddc701486370dd0425b651d3657c8b3e305da (patch)
tree3de75907f41110b91bfd0014e509ad715eb5def6 /examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.c
parent9c552e75850c21bcacaeb5e28e64cf0d03ecb246 (diff)
Fixed all warnings for examples.
Diffstat (limited to 'examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.c')
-rw-r--r--examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.c b/examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.c
index deb0ff0..b0efdde 100644
--- a/examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.c
+++ b/examples/stm32/f1/stm32-h103/pwm_6step/pwm_6step.c
@@ -28,12 +28,12 @@
u16 exti_direction = FALLING;
-void clock_setup(void)
+static void clock_setup(void)
{
rcc_clock_setup_in_hse_8mhz_out_72mhz();
}
-void gpio_setup(void)
+static void gpio_setup(void)
{
/* Enable GPIOC clock. */
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_IOPCEN);
@@ -43,7 +43,7 @@ void gpio_setup(void)
GPIO_CNF_OUTPUT_PUSHPULL, GPIO12);
}
-void exti_setup(void)
+static void exti_setup(void)
{
/* Enable GPIOA clock. */
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_IOPAEN);
@@ -80,7 +80,7 @@ void exti0_isr(void)
}
}
-void tim_setup(void)
+static void tim_setup(void)
{
/* Enable TIM1 clock. */
rcc_peripheral_enable_clock(&RCC_APB2ENR, RCC_APB2ENR_TIM1EN);