include: nuttx: leds: nxstyle fixes

Nxstyle fixes to pass CI

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2021-01-26 09:26:02 +01:00 committed by Xiang Xiao
parent 408e612353
commit f29beab982
2 changed files with 10 additions and 7 deletions

View File

@ -111,8 +111,10 @@ extern "C"
*
****************************************************************************/
struct spi_dev_s; /* Forward reference */
int max7219_leds_register(FAR const char *devpath, FAR struct spi_dev_s *spi);
struct spi_dev_s; /* Forward reference */
int max7219_leds_register(FAR const char *devpath,
FAR struct spi_dev_s *spi);
#undef EXTERN
#ifdef __cplusplus

View File

@ -94,11 +94,12 @@ enum led_select_e
LED_3 = NCP5623C_PWM3
};
/* This structure is used in an IOCTL command for setting the PWM of an individual
* LED. The desired LED is selected by setting the 'led' parameter accordingly
* whereas the 'led_pwm' field governs the brightness of the selected LED. A value
* of 0 (0x00) leads to a duty cycle of 0 % = LED off while a value of 255 (0xFF)
* leads to a duty cycle of 99.6 % = Maximum brightness.
/* This structure is used in an IOCTL command for setting the PWM of an
* individual LED. The desired LED is selected by setting the 'led' parameter
* accordingly whereas the 'led_pwm' field governs the brightness of the
* selected LED. A value of 0 (0x00) leads to a duty cycle of 0 % = LED off
* while a value of 255 (0xFF) leads to a duty cycle of 99.6 % = Maximum
* brightness.
*/
struct ncp5623c_set_reg_s