1 /**
2  * @file lv_led_private.h
3  *
4  */
5 
6 #ifndef LV_LED_PRIVATE_H
7 #define LV_LED_PRIVATE_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*********************
14  *      INCLUDES
15  *********************/
16 
17 #include "lv_led.h"
18 
19 #if LV_USE_LED
20 #include "../../core/lv_obj_private.h"
21 
22 /*********************
23  *      DEFINES
24  *********************/
25 
26 /**********************
27  *      TYPEDEFS
28  **********************/
29 
30 /** Data of led */
31 struct _lv_led_t {
32     lv_obj_t obj;
33     lv_color_t color;
34     uint8_t bright;     /**< Current brightness of the LED (0..255)*/
35 };
36 
37 
38 /**********************
39  * GLOBAL PROTOTYPES
40  **********************/
41 
42 /**********************
43  *      MACROS
44  **********************/
45 
46 #endif /* LV_USE_LED */
47 
48 #ifdef __cplusplus
49 } /*extern "C"*/
50 #endif
51 
52 #endif /*LV_LED_PRIVATE_H*/
53