增加单击SW2抽签功能
This commit is contained in:
@@ -350,13 +350,21 @@ esp_err_t platform_stop_lcd_render_loop(int timeout_ms);
|
||||
|
||||
#define PLATFORM_LCD_PRESENTATION_FRAME_ORDER_MAX 16
|
||||
#define PLATFORM_LCD_PRESENTATION_ASSET_DIR_MAX 32
|
||||
#define PLATFORM_LCD_PRESENTATION_STEP_MAX 12
|
||||
|
||||
typedef enum {
|
||||
PLATFORM_LCD_PRESENTATION_IDLE = 0,
|
||||
PLATFORM_LCD_PRESENTATION_ASSET_SEQUENCE,
|
||||
PLATFORM_LCD_PRESENTATION_SLOT_REELS,
|
||||
PLATFORM_LCD_PRESENTATION_STEP_SEQUENCE,
|
||||
} platform_lcd_presentation_kind_t;
|
||||
|
||||
typedef struct {
|
||||
const char *asset_dir;
|
||||
uint8_t frame_index;
|
||||
uint32_t delay_ms;
|
||||
} platform_lcd_presentation_step_t;
|
||||
|
||||
typedef struct {
|
||||
platform_lcd_presentation_kind_t kind;
|
||||
uint8_t priority;
|
||||
@@ -368,6 +376,8 @@ typedef struct {
|
||||
uint16_t repeat_count;
|
||||
uint32_t frame_ms;
|
||||
uint32_t duration_ms;
|
||||
const platform_lcd_presentation_step_t *steps;
|
||||
size_t step_count;
|
||||
} platform_lcd_presentation_request_t;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user