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:
Anthony Merlino
2018-05-02 22:21:49 +00:00
committed by Gregory Nutt
parent 800da58e6c
commit 385d4a9108
2 changed files with 94 additions and 18 deletions
+5 -1
View File
@@ -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