feat(ota): show update expression during firmware install
This commit is contained in:
@@ -80,6 +80,7 @@ static const uint8_t s_wifi_connecting_frame_order[] = {0};
|
||||
static const uint8_t s_basic_face_frame_order[] = {0, 1, 2};
|
||||
static const uint8_t s_muyu_frame_order[] = {0, 1, 2, 1};
|
||||
static const uint8_t s_listening_frame_order[] = {0, 1, 2};
|
||||
static const uint8_t s_ota_update_frame_order[] = {0, 1, 2};
|
||||
static const char *const s_chouqian_result_asset_dirs[] = {
|
||||
"chouqian_buyun",
|
||||
"chouqian_heping",
|
||||
@@ -259,6 +260,21 @@ static const domain_expression_catalog_entry_t s_expression_catalog[] = {
|
||||
.frame_ms = 500,
|
||||
},
|
||||
},
|
||||
{
|
||||
.id = DOMAIN_EXPRESSION_OTA_UPDATE,
|
||||
.platform_request = {
|
||||
.kind = PLATFORM_LCD_PRESENTATION_ASSET_SEQUENCE,
|
||||
.priority = 200,
|
||||
.interrupt_current = true,
|
||||
.return_to_idle = false,
|
||||
.asset_dir = "ota",
|
||||
.frame_order = s_ota_update_frame_order,
|
||||
.frame_order_count = sizeof(s_ota_update_frame_order) /
|
||||
sizeof(s_ota_update_frame_order[0]),
|
||||
.repeat_count = 0,
|
||||
.frame_ms = 200,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
static void snapshot_domain_wifi_behavior_hooks(domain_wifi_behavior_hooks_t *out_hooks)
|
||||
|
||||
Reference in New Issue
Block a user