Commit Graph

43 Commits (367e1b54ba16e8a059fc32ee2807aea85587e520)

Author SHA1 Message Date
Scott Lahteine 6c45d0fd81 Apply maths macros and type changes ahead of HAL
bgort 2f55870edb [New Feature] I2C position encoder support ()
* [New Feature] I2C position encoder support

I plan to continue improving/cleaning this up, as there areas that need work.

* let the cleanups begin.

* progress

* more progress

* comments, rename files, etc.

* clean

* Cleanups per thinkyhead

* a few more cleanups

* cleanups, bugfixes, etc.

* remove unnecessary passes_test(), additional cleanups/optimizations

* cleanups

* misc.

* Fix up I2CPEM.init() and a few other things.

* organize, fix, rename, etc.

* more optimization

* a few more tweaks
Scott Lahteine 4a96433b7e Simplify counting of printable characters
Scott Lahteine 6b9ca16f36 Patch lcd_print edge limit code
Scott Lahteine f4028fe088 New GCode Parser - Implementation
Scott Lahteine 34cfbc90cd Use new attribute macros in more places
oldmcg 48f7652143 UBL G29 -P3.1 smart fill ()
* UBL G29 -P3.1 mesh fill with distance-weighted least squares fit.

* Back to original -O0 on G29 for now.
Scott Lahteine 081bf1f879 Patch #else / #endif comments
Scott Lahteine 6a9b008044 Fix MINIMUM_STEPPER_PULSE maths
Scott Lahteine e02a5a6371 Add macros for delays by machine cycle
Scott Lahteine 04050237f0 Header and pins changes to support 5 extruders
Scott Lahteine 4487d22d56 Apply FIXFLOAT macro
Scott Lahteine 25a6bfa7ed Add and apply WITHIN macro
Scott Lahteine 87b03b16bd Use a macro for array copies
Scott Lahteine c9193e856d Limit preheat parameters based on all nozzles
Scott Lahteine f663220e87 Store Mix factors as reciprocals and multiply
Scott Lahteine 3544c3632f Merge pull request from thinkyhead/rc_warnings_fix
Warnings fixed redux
Josef Pavlik c2b51af3ba fixed warning: ISO C does not permit named variadic macros
Scott Lahteine 5f5a55a0de Add a ZERO macro to clear arrays
Scott Lahteine eabff30e75 Improve MINIMUM_STEPPER_PULSE
Scott Lahteine 413b61e64a Add HYPOT2 and float comparison macros
Scott Lahteine 280534c06f Add M211: Enable/Disable Software Endstops
Scott Lahteine 628dcbc764 extruder_multiplier => flow_percentage
Scott Lahteine b73203a0b7 Move some includes around to uncover missing deps
Scott Lahteine d9f7ed9a3c Move some macros from Marlin.h to macros.h
Scott Lahteine 93ea281061 Split up Conditionals.h into two files
Rather than include twice, which is tricky but may confuse
Scott Lahteine 9f9fe043ba Apply sq macro throughout
João Brázio fa4274cf4c Improves the custom bootscreen logo feature
Scott Lahteine e650a75b88 Simplified variable-size array macros
Scott Lahteine 07c9a11c3c Automatically set X2 stepper pins
Scott Lahteine c6f1337f5c NOOP macro for do-nothing macros
Scott Lahteine 386140f361 Test time difference in safe way
Scott Lahteine 071c742b8a Move STRINGIFY to macros.h, use in language.h
Scott Lahteine f543aaa54e Apply standard pin test to buttons
This is the easiest way to make button pin testing consistent without
renaming all the button pins. Just make a macro especially for testing
if button pins are set, since they are named consistently in the pins
files.
Scott Lahteine f1ed310322 Add NUMERIC compare macros to simplify code
Scott Lahteine 0da744b7b0 Further cleanup of comments, partial Doxygen-style
Following up on 
jbrazio 5e5d250832 Added gplv3 header to all Marlin files
Scott Lahteine fc04b587cf Merge pull request from thinkyhead/rc_stringify_macro
Promote STRINGIFY to macros.h
Scott Lahteine 9418b4f2f3 Promote STRINGIFY to macros.h
Scott Lahteine 73a59a4e45 Allow ENABLED(b) to work with "true" and "false"
Scott Lahteine c8f76bb8aa Create BITSET/BITCLR macros
Scott Lahteine 278aa15301 Add COUNT macro and apply
Scott Lahteine d85861d296 Move macros, add ENABLED/DISABLED, add includes