mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
drivers/led: Extend userled_set_t from 8bits to 32bits
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: I5701b42ff930998198b1d915316cc4f2d085d4eb
This commit is contained in:
committed by
Abdelatif Guettouche
parent
76965474ac
commit
7a18ebe459
@@ -605,7 +605,7 @@ void board_userled(int led, bool ledon);
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_ARCH_HAVE_LEDS
|
||||
void board_userled_all(uint8_t ledset);
|
||||
void board_userled_all(uint32_t ledset);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
* from or writing to the LED driver.
|
||||
*/
|
||||
|
||||
typedef uint8_t userled_set_t;
|
||||
typedef uint32_t userled_set_t;
|
||||
|
||||
/* A reference to this structure is provided with the ULEDIOC_SETLED IOCTL
|
||||
* command and describes the LED to be set and the new value of the LED.
|
||||
|
||||
Reference in New Issue
Block a user