1
0
mirror of https://github.com/marqs85/ossc.git synced 2024-06-08 03:29:29 +00:00
ossc/software/sys_controller_bsp/libhal_bsp.a
Ari Sundholm 89bc3f35e7 Userdata export: Reduce image size by 20 bytes.
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.
2020-11-09 19:12:41 +02:00

34 KiB