1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/merge
Sergey Vlasov 3aca3d3572
merge/um70:via: Avoid sprintf() to make the code fit into flash (#12919)
The code using sprintf() did not fit into flash when `merge/um70:via`
was compiled with avr-gcc 5.4.0:

     * The firmware is too large! 29756/28672 (1084 bytes over)

Replacing `sprintf(wpm_str, " %03d", current_wpm);` with custom
formatting code reduces the firmware size by 1504 bytes, which is enough
to make the `merge/um70:via` firmware fit:

    * The firmware size is approaching the maximum - 28252/28672 (98%, 420 bytes free)
2021-05-30 14:47:44 -07:00
..
iso_macro 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
uc1 2021 May 29 Breaking Changes Update (#13034) 2021-05-29 14:38:50 -07:00
um70 merge/um70:via: Avoid sprintf() to make the code fit into flash (#12919) 2021-05-30 14:47:44 -07:00