Scott Lahteine
209f5f21e0
Use macros where possible
Apply `constrain`, `NOMORE`, `NOLESS` and `CRITICAL_SECTION` macros
wherever possible.
8 jaren geleden
Scott Lahteine
54a39d8c1a
Use a ternary in qr_solve.cpp
9 jaren geleden
Scott Lahteine
6fa7e24af3
Use "UNUSED" to squash compiler warnings
9 jaren geleden
Scott Lahteine
9bdab4f3a8
Clean up "else" and other spacing
9 jaren geleden
Scott Lahteine
0c7f7ebcfb
Styling adjustments (PR#2668 & PR#2670)
Keep "astyled" reformatting
9 jaren geleden
Scott Lahteine
58cfcd4239
Overridable Options - Part 5
Apply `ENABLED` / `DISABLED` macros to files needing only a small
number of changes.
9 jaren geleden
AnHardt
d03f037a92
Get rid of malloc() and free() (PR#2549)
Just the minimal changes to qr_solve.cpp and .h to get rid of malloc() and free().
Saves about 656 bytes of progmem (library-code)
and 22 bytes for static variables.
Should use exactly the same amount of stack as it did before on the heap.
9 jaren geleden
Scott Lahteine
19d418cd6a
Fix up the code to eliminate warnings
9 jaren geleden
alexborro
d74aabf259
Revert "Change Auto_Bed_Leveling to Auto_Bed_Compensation"
10 jaren geleden
John Davis
6325968a39
Update qr_solve.cpp
Changed leveling to compensation
10 jaren geleden
Cylindric
fdce91192e
Various typo fixes - only in comments, no code changes.
10 jaren geleden
Gabe Rosenhouse
99f6326544
Remove unnecessary dependency on time.h from qr_solve.cpp
Fixed compiler errors on Ubuntu using arduino-core
10 jaren geleden
Gabe Rosenhouse
174b8d99d5
Simplify 3-point probing using new code only
10 jaren geleden
fsantini
cc2925b705
Implemented a least squares fit of the bed equation for auto bed leveling.
The code for the LSQ solver (qr_solve) is copyrighted by John Burkardt and released under LGPL here:
http://people.sc.fsu.edu/~%20jburkardt/c_src/qr_solve/qr_solve.html
(see qr_solve.cpp for further copyright information)
11 jaren geleden