template.c: recalculate file size
This commit is contained in:
parent
e657f21f37
commit
96dfcac873
@ -198,8 +198,8 @@ main(int argc, char** argv)
|
||||
const uint32_t buffer_size = PRODUCT,
|
||||
file_length =
|
||||
4 * 4 /* 4 strings of 4 characters */ +
|
||||
4 * 4 /* 4 uint32_t values */ +
|
||||
5 * 2 /* 5 uint16_t values */ +
|
||||
5 * 4 /* 4 uint32_t values */ +
|
||||
4 * 2 /* 5 uint16_t values */ +
|
||||
PRODUCT /* sample data */,
|
||||
fmt_data_length = 16 /* length of format data before this value
|
||||
in the file format structure */,
|
||||
|
Loading…
Reference in New Issue
Block a user