Siviuze commented on code in PR #10522: URL: https://github.com/apache/nuttx/pull/10522#discussion_r1318347132
########## boards/arm/stm32/stm32f411e-disco/include/board.h: ########## @@ -297,19 +297,38 @@ /* LEDs * - * The STM32F411E Discovery board has four user leds but only one is - * configured so far. - * LD2 connected to PD12. + * The STM32F411E Discovery board has four user leds + * LD3 connected to PD13. + * LD4 connected to PD12. + * LD5 connected to PD14. + * LD6 connected to PD15. */ /* LED index values for use with board_userled() */ -#define BOARD_LD2 0 -#define BOARD_NLEDS 1 +#define BOARD_LD3 0 +#define BOARD_LD4 1 +#define BOARD_LD5 2 +#define BOARD_LD6 3 +#define BOARD_NLEDS 4 /* LED bits for use with board_userled_all() */ -#define BOARD_LD2_BIT (1 << BOARD_LD2) +#define BOARD_LD3_BIT (1 << BOARD_LD3) +#define BOARD_LD4_BIT (1 << BOARD_LD4) +#define BOARD_LD5_BIT (1 << BOARD_LD5) +#define BOARD_LD6_BIT (1 << BOARD_LD6) + +/* The board has only one controllable LED */ Review Comment: comment out of sync? Only LED1 is in use -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
