Your fix from https://bazaar.launchpad.net/~toykeeper/flashlight-firmware/trunk/revision/237 has a code size regression.
With gcc 9.2.0 and using https://bazaar.launchpad.net/~toykeeper/flashlight-firmware/fsm/revision/443:
FW3A: Your fix: 7854 bytes static inline: 7834 bytes
D4V2: Your fix: 9234 bytes static inline: 9158 bytes
"static inline" means not using your compile option changes and replacing all instances of "inline" with "static inline" as done in this commit: https://github.com/SammysHP/flashlight-firmware/commit/a73df6d00831ad326a3eeb62a17994a9b50ac9f1
Your fix from https:/ /bazaar. launchpad. net/~toykeeper/ flashlight- firmware/ trunk/revision/ 237 has a code size regression.
With gcc 9.2.0 and using https:/ /bazaar. launchpad. net/~toykeeper/ flashlight- firmware/ fsm/revision/ 443:
FW3A:
Your fix: 7854 bytes
static inline: 7834 bytes
D4V2:
Your fix: 9234 bytes
static inline: 9158 bytes
"static inline" means not using your compile option changes and replacing all instances of "inline" with "static inline" as done in this commit: https:/ /github. com/SammysHP/ flashlight- firmware/ commit/ a73df6d00831ad3 26a3eeb62a17994 a9b50ac9f1