aboutsummaryrefslogtreecommitdiffstats
path: root/src/linux/hard_pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/hard_pwm.c')
-rw-r--r--src/linux/hard_pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/hard_pwm.c b/src/linux/hard_pwm.c
index f14b844b..cfe8b436 100644
--- a/src/linux/hard_pwm.c
+++ b/src/linux/hard_pwm.c
@@ -37,7 +37,7 @@ DECL_ENUMERATION_RANGE("pin", "pwmchip7/pwm0", HARD_PWM(7, 0), 16);
#define PWM_PATH "/sys/class/pwm/pwmchip%u/pwm%u/%s"
#define PWM_PATH_BB "/sys/class/pwm/pwm-%u:%u/%s"
-struct gpio_pwm gpio_pwm_setup(uint8_t pin, uint32_t cycle_time, uint16_t val)
+struct gpio_pwm gpio_pwm_setup(uint32_t pin, uint32_t cycle_time, uint16_t val)
{
char filename[256];
char scratch[16];