Guðni Már Gilbert
835caa0230
mesh_bed_calibration: drop Marlin.h include
2024-08-13 23:23:21 +00:00
sarusani
d485e4fb0b
Add type to save 50B
...
Saves 50bytes
2024-07-30 15:15:05 +02:00
3d-gussner
45a223a1f9
Remove White spaces
2024-05-20 19:09:03 +02:00
Alex Voinea
a15f536ff4
Combine BED_X/Y() and mbl::get_x/y()
...
flash: -112
2023-08-17 07:52:55 +02:00
Guðni Már Gilbert
6b12be42d9
optimisation: Make BED_X and BED_Y into functions
...
Previously these preprocessor macros were always being inlined.
By making these into a function we can control the inlining
more directly.
The number of points on the mesh is also now constant. This means
'n' can now be float at compile time. This removes one uint8_t to float
conversion.
Change in memory:
Flash: -208 bytes
SRAM: 0 bytes
2023-08-17 07:52:55 +02:00
Alex Voinea
83879fd10c
Cleanup magnet compensation code
2023-08-17 07:52:55 +02:00
Alex Voinea
9272545deb
Dead code cleanup
2023-04-23 12:25:10 +02:00
Guðni Már Gilbert
53dfcf9d6f
Optimise if-statments in world2machine_clamp
...
Only one of the statements can be true: tmpx < X_MIN_POS or tmpx > X_MAX_POS.
So we can be a little bit smarter here and skip the second if statement if the first was true.
This saves 6 bytes of flash memory and potential some clock cycles
2022-02-01 18:37:41 +00:00
espr14
99206884b5
Calibration: detect biased PINDA and retry calibration
...
PFW-1223
2021-03-12 05:04:49 +01:00
Yuri D'Elia
e010ca8ceb
Fix conflicting extern/inline declarations
...
The functions find_bed_induction_sensor_point_* have conflicting
extern and inline declarations.
These are used outside of the compilation unit only, and thus there's no
point in defining them inline.
This causes a compilation failure at O1 and above, which is strangely
avoided at Os.
2021-02-10 14:50:13 +01:00
PavelSindler
9e0e4198c5
Mesh by 3d-gussner, fixed difference between mbl points coordinates and coordinates used in planner for corrections, mbl settings menu update
2019-03-14 01:52:44 +01:00
PavelSindler
6a864ffbab
G80 parameters configurable via settings menu
2019-03-08 15:43:37 +01:00
PavelSindler
7c187541e1
function for valid points determination improved; simple Z-coordinate estimation; measure all points and use inaccurate Z-coordinate in case that we don't have enought information for counting Z-coordinate estimation
2019-03-05 22:36:30 +01:00
PavelSindler
d9e93e8a77
measurements points moved 10mm to the left; measure only chosen points (e.g. not points affected by magnets proximity)
2019-03-05 20:40:08 +01:00
PavelSindler
e27fdafcec
menu switch - initial
2019-02-28 19:42:09 +01:00
Laurentiu
4835b9b220
7x7 points mesh bed leveling
2019-02-14 10:57:58 +02:00
Robert Pelnar
8409a26594
Live adjust Z - display zero in case of invalid calibration status (same logic in babystep_load and _lcd_babystep)
2018-08-10 19:55:50 +02:00
Marek Bel
329ea199ec
Show measured bed offset from expected position even if not homed. Remove redundant lcd_quick_feedback() calls.
2018-05-10 18:24:49 +02:00
Marek Bel
d6aa149cfa
Conserve 58 bytes of flash by returning by reference.
2018-04-26 16:36:02 +02:00
Marek Bel
ae08788c99
Split lcd_service_mode_show_result screens to separate functions. Make them non blocking. Remove global array distance_from_min, pass it as function return value. Make Support submenus returning to Support menu.
2018-04-26 16:36:02 +02:00
Marek Bel
3abfeb831f
Update documentation of mesh_bed_calibration.cpp.
2018-04-25 12:21:20 +02:00
Marek Bel
9bd4d580d7
Use right calibration point. This change is only formal, as both original and new point have same coordinates.
2018-04-23 20:33:25 +02:00
Marek Bel
cccd8246ab
Fix world2machine(const float &x, const float &y, float &out_x, float &out_y) not using input parameters if only WORLD2MACHINE_CORRECTION_SHIFT is applied.
2018-04-23 20:33:14 +02:00
Robert Pelnar
ac1a56b493
Merge branch 'MK25' into MK3
2018-03-13 20:43:19 +01:00
Robert Pelnar
65a91b366d
New XYZ calibration with image processing
2018-03-13 12:55:35 +01:00
Robert Pelnar
a6f900fd3c
Merge remote-tracking branch 'upstream/MK25' into MK25
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2018-03-06 15:11:50 +01:00
Robert Pelnar
480838a0a1
Fixed homing (mbl and babystep - crashdetection recovery work fine now).
2017-09-23 16:35:01 +02:00
PavelSindler
43d696659f
3.0.12-RC2 sync
2017-06-29 18:35:43 +02:00
bubnikv
26405ee16f
Syncing with 3.0.7 public
2016-08-31 17:12:05 +02:00
michalprusa
307d17422d
3.0.6 sync
2016-08-11 10:42:53 +02:00
michalprusa
30f0528aba
Initial commit
2016-07-22 15:28:01 +02:00