aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32/gpio.h')
-rw-r--r--src/stm32/gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/gpio.h b/src/stm32/gpio.h
index 96105e9b..6a5f910c 100644
--- a/src/stm32/gpio.h
+++ b/src/stm32/gpio.h
@@ -24,7 +24,7 @@ uint8_t gpio_in_read(struct gpio_in g);
struct gpio_pwm {
void *reg;
};
-struct gpio_pwm gpio_pwm_setup(uint8_t pin, uint32_t cycle_time, uint8_t val);
+struct gpio_pwm gpio_pwm_setup(uint8_t pin, uint32_t cycle_time, uint32_t val);
void gpio_pwm_write(struct gpio_pwm g, uint32_t val);
struct gpio_adc {