forked from Traumflug/Teacup_Firmware
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gcode_process.c: more preprocessor conditions for homing movements.
Well, optimizer isn't _that_ smart. It apparently removes empty functions in the same compilation unit ( = source code file), but not ones across units. This saves 10 bytes binary size per endstop not used, so 30 bytes in a standard configuration. All without any drawbacks.
- Loading branch information
Showing
1 changed file
with
24 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters