Continuing from the previous PR. Should rebase later.
This is an attempt to comply better with the coding style.
Line breaks, white space and some name changes. Moving some vars into structs.
Maybe could go further but then I have to learn the code better...
(The hex is a few bytes smaller but that was just coincident.)
See details in the last commit below. All the other are the same as in the other PR.
Continuing from the previous PR. Should rebase later.
This is an attempt to comply better with the coding style. Line breaks, white space and some name changes. Moving some vars into structs. Maybe could go further but then I have to learn the code better... (The hex is a few bytes smaller but that was just coincident.) See details in the last commit below. All the other are the same as in the other PR.
A lot is a matter of taste so check if you agree.