Browse Source
SERIAL_ECHOPAIR implies, eventually, two calls to MYSERIAL.print. One of these has FORCE_INLINE for a per-character loop, and both involve constructing a method call rather than a simple function call. Produce better and smaller code by providing three specialised functions serial_echopair. This saves 672 bytes of program memory (with EEPROM_SETTINGS and SDSUPPORT enabled). Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>pull/1/head
Ian Jackson
12 years ago
2 changed files with 12 additions and 1 deletions
Loading…
Reference in new issue