This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit f29beab982c534d0dc0bec17442bd684cef5c05f Author: Alin Jerpelea <alin.jerpe...@sony.com> AuthorDate: Tue Jan 26 09:26:02 2021 +0100 include: nuttx: leds: nxstyle fixes Nxstyle fixes to pass CI Signed-off-by: Alin Jerpelea <alin.jerpe...@sony.com> --- include/nuttx/leds/max7219.h | 6 ++++-- include/nuttx/leds/ncp5623c.h | 11 ++++++----- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/include/nuttx/leds/max7219.h b/include/nuttx/leds/max7219.h index 64f0d8b..4524397 100644 --- a/include/nuttx/leds/max7219.h +++ b/include/nuttx/leds/max7219.h @@ -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 diff --git a/include/nuttx/leds/ncp5623c.h b/include/nuttx/leds/ncp5623c.h index e78a83e..3884145 100644 --- a/include/nuttx/leds/ncp5623c.h +++ b/include/nuttx/leds/ncp5623c.h @@ -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