diff --git a/include/nuttx/leds/max7219.h b/include/nuttx/leds/max7219.h index 64f0d8b8f5d..4524397ea09 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 e78a83ee68f..388414519fe 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