diff --git a/cpu/stm32f4/periph/pwm.c b/cpu/stm32f4/periph/pwm.c
index 90999b3db6dffbe0077c43bf38c79cab4e252951..eaf5e76b35fb881b1e9912195d6c9ea61da907bf 100644
--- a/cpu/stm32f4/periph/pwm.c
+++ b/cpu/stm32f4/periph/pwm.c
@@ -157,7 +157,7 @@ int pwm_init(pwm_t dev, pwm_mode_t mode, unsigned int frequency, unsigned int re
     /* enable timer ergo the PWM generation */
     pwm_start(dev);
 
-    return 0;
+    return frequency;
 }
 
 int pwm_set(pwm_t dev, int channel, unsigned int value)