- Added initial version of Hierarchical Menu
- Beautified the Message Box a bit
This commit is contained in:
@@ -92,7 +92,7 @@ typedef uint8_t Value_t;
|
||||
|
||||
typedef union
|
||||
{
|
||||
uint Data;
|
||||
uint32_t Data;
|
||||
struct Command_s
|
||||
{
|
||||
uint8_t Command;
|
||||
@@ -105,13 +105,17 @@ typedef union
|
||||
{
|
||||
struct
|
||||
{
|
||||
uint8_t Gap;
|
||||
uint8_t B;
|
||||
uint8_t R;
|
||||
uint8_t R;
|
||||
uint8_t G;
|
||||
uint8_t B;
|
||||
uint8_t A; // Alpha channel (unused, for 32-bit alignment)
|
||||
// uint8_t Gap;
|
||||
// uint8_t B;
|
||||
// uint8_t R;
|
||||
// uint8_t G;
|
||||
};
|
||||
uint8_t Array[4];
|
||||
uint Pixel;
|
||||
uint32_t Pixel;
|
||||
} __packed LED_Data_t;
|
||||
|
||||
typedef struct {
|
||||
@@ -141,7 +145,7 @@ typedef struct
|
||||
{
|
||||
uint8_t Enabled;
|
||||
LED_Data_t Color;
|
||||
uint Timeout;
|
||||
uint32_t Timeout;
|
||||
uint8_t Reset_Condition;
|
||||
uint8_t Fade_Speed;
|
||||
} __packed Pause_Light_Configuration_s;
|
||||
@@ -158,8 +162,8 @@ typedef struct
|
||||
{
|
||||
Duration_t Duration_Min_s;
|
||||
Duration_t Duration_Max_s;
|
||||
int Hue_Angle_Start_Color;
|
||||
uint Color_Change;
|
||||
int32_t Hue_Angle_Start_Color;
|
||||
uint32_t Color_Change;
|
||||
uint8_t Fade_Speed;
|
||||
} __packed Jam_Light_Configuration_s;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user