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:
Xiang Xiao
2020-06-06 18:35:44 +08:00
committed by Abdelatif Guettouche
parent 76965474ac
commit 7a18ebe459
134 changed files with 139 additions and 139 deletions
+1 -1
View File
@@ -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
/****************************************************************************
+1 -1
View File
@@ -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.