mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
lpc2387: pwm_init: return actual frequency
This commit is contained in:
parent
92a743560d
commit
8619bdec63
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user