mirror of
https://github.com/marqs85/ossc.git
synced 2025-01-15 00:30:33 +00:00
89bc3f35e7
Replace an array of const char* literals with a single const char* literal containing all the messages in the rotating prompt and an array of alt_u8 containing the offsets of each message within the literal. This ends up yielding a larger size reduction than expected, a healthy 20 bytes, despite a meager 8-byte difference in the size of local variables and slightly more complex pointer math in calculating the address of the current message within the string literal.