Silence missing-field-initializers warning in flip1.c

This commit is contained in:
Stefan Rueger 2023-01-11 23:45:07 +00:00
parent 2a79faae86
commit 81f01939c2
No known key found for this signature in database
GPG Key ID: B0B4F1FD86B1EC55
1 changed files with 1 additions and 1 deletions

View File

@ -652,7 +652,7 @@ int flip1_write_memory(struct dfu_dev *dfu,
int cmd_result = 0; int cmd_result = 0;
int aux_result; int aux_result;
struct flip1_cmd_header cmd_header = { struct flip1_cmd_header cmd_header = {
FLIP1_CMD_PROG_START, mem_unit FLIP1_CMD_PROG_START, mem_unit, {0}, {0}, {0},
}; };
struct flip1_prog_footer cmd_footer = { struct flip1_prog_footer cmd_footer = {
{ 0, 0, 0, 0 }, /* CRC */ { 0, 0, 0, 0 }, /* CRC */