aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsamd/hard_pwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atsamd/hard_pwm.c')
-rw-r--r--src/atsamd/hard_pwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atsamd/hard_pwm.c b/src/atsamd/hard_pwm.c
index 3f510520..0b3a6ba4 100644
--- a/src/atsamd/hard_pwm.c
+++ b/src/atsamd/hard_pwm.c
@@ -41,7 +41,7 @@ static const struct gpio_pwm_info pwm_regs[] = {
#define MAX_PWM 255
-DECL_CONSTANT(PWM_MAX, MAX_PWM);
+DECL_CONSTANT("PWM_MAX", MAX_PWM);
struct gpio_pwm
gpio_pwm_setup(uint8_t pin, uint32_t cycle_time, uint8_t val)