To be specific,
preamble.addr = 0;
is code not an initializer. You either need to initialize when you declare and define the struct, or run the code inside a function.
To be specific,
preamble.addr = 0;
is code not an initializer. You either need to initialize when you declare and define the struct, or run the code inside a function.