Skip to content
Snippets Groups Projects
Commit 8619bdec authored by Joakim Nohlgård's avatar Joakim Nohlgård
Browse files

lpc2387: pwm_init: return actual frequency

parent 92a74356
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,7 @@ int pwm_init(pwm_t dev, pwm_mode_t mode, unsigned int frequency, unsigned int re ...@@ -82,7 +82,7 @@ int pwm_init(pwm_t dev, pwm_mode_t mode, unsigned int frequency, unsigned int re
#endif #endif
} }
return 0; return frequency;
} }
int pwm_set(pwm_t dev, int channel, unsigned int value) int pwm_set(pwm_t dev, int channel, unsigned int value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment