|
@@ -120,7 +120,11 @@ static struct image_header_t image_header;
|
|
static struct image_data_t image_data;
|
|
static struct image_data_t image_data;
|
|
static struct validate_flash_t validate_flash_data;
|
|
static struct validate_flash_t validate_flash_data;
|
|
static struct manage_flash_t manage_flash_data;
|
|
static struct manage_flash_t manage_flash_data;
|
|
-static struct update_flash_t update_flash_data;
|
|
|
|
|
|
+
|
|
|
|
+/* Initialize update_flash_data status to No Operation */
|
|
|
|
+static struct update_flash_t update_flash_data = {
|
|
|
|
+ .status = FLASH_NO_OP,
|
|
|
|
+};
|
|
|
|
|
|
static DEFINE_MUTEX(image_data_mutex);
|
|
static DEFINE_MUTEX(image_data_mutex);
|
|
|
|
|