repetier/Repetier-Firmware — pull request #263 by mrbi11 (2014-02-27 22:50:23+00:00)
Title: Work092

Converted axis and tower indexes to symbolic names.
Converted boolean #ifdef's to #if's as needed
Used numeric boolean values in preprocessor per standard
Reduced ~5.4 k line buffer cache to ~1.4k, as it cannot ever
be the speed bottleneck. Reading new gcode lines is many times faster
than even the shortest possible physical move.

I made 1 functional change, in addition to renaming two constants that are array index for printLine cache and deltaSegment array, I changed printlines max to 5 (from 16) and delta cache to 10 (from 22) I have been running some very large prints, and have yet to see a pause. See comments for estimates of space and why I think the cache can never empty, as long as there are at least 2 line buffers. (I know it needs 5 for other reasons).

Compiled with Delta and Cartesion and no ui and 1 lcd ui device. Left as I last compiled, as this is a working version. I think I also turned off quadratic advance by but am not sure. I did not intentionally change any other compiler defaults, but I would say check to be sure.
I thought best to let you have an early version to see if you like the work I did, and give any feedback.