diff options
author | Sergey Vlasov <sigprof@gmail.com> | 2021-05-31 00:47:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-30 14:47:44 -0700 |
commit | 3aca3d35729bd7445846918cb5a171c5e0093997 (patch) | |
tree | 48b8ca3726724cc8ede6eb84cf2ac5b975c84288 /keyboards/ckeys/handwire_101/readme.md | |
parent | 305cca9a5e4c304b0883f07ab4e5de9a493fdbd9 (diff) |
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)
Diffstat (limited to 'keyboards/ckeys/handwire_101/readme.md')
0 files changed, 0 insertions, 0 deletions