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>
|
|
||
84 |
|
84 |
|
85 |
|
85 |
|
86 |
|
86 |
|
87 |
|
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
88 |
|
92 |
|
89 |
|
93 |
|
90 |
|
94 |
|
|
|
||
203 |
|
203 |
|
204 |
|
204 |
|
205 |
|
205 |
|
|
206 |
|
|
|
207 |
|
|
|
208 |
|
|
|
209 |
|
|
|
210 |
|
|
|
211 |
|
|
|
212 |
|
|
206 |
|
213 |
|
207 |
|
214 |
|
208 |
|
215 |
|