mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
Merged in antmerlino/nuttx/rgb_multichan (pull request #635)
drivers/rgbled: Adds support for multichannel PWM (multiple PWM channels on a single timer) Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
committed by
Gregory Nutt
parent
800da58e6c
commit
385d4a9108
@@ -88,7 +88,11 @@ extern "C"
|
||||
|
||||
int rgbled_register(FAR const char *path, FAR struct pwm_lowerhalf_s *ledr,
|
||||
FAR struct pwm_lowerhalf_s *ledg,
|
||||
FAR struct pwm_lowerhalf_s *ledb);
|
||||
FAR struct pwm_lowerhalf_s *ledb
|
||||
#ifdef CONFIG_PWM_MULTICHAN
|
||||
, int chanr, int chang, int chanb
|
||||
#endif
|
||||
);
|
||||
|
||||
#undef EXTERN
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user