Guðni Már Gilbert
0d45228dbd
Remove commented lcd_update_enable(true)
2024-07-31 11:15:39 +00:00
gudnimg
2cbbdbacd5
Remove a bit of unused code which is disabled at compile time
...
Some of these have been used > 6 years and don't compile anymore.
Reason to want this removed is just to reduce the code we maintain
2024-07-31 09:53:45 +00:00
3d-gussner
45a223a1f9
Remove White spaces
2024-05-20 19:09:03 +02:00
3d-gussner
97584d571e
Update all `_i("` to `messages.cpp/.h`
...
Update `lang/po/*.po*` files
2024-04-04 08:23:40 +02:00
3d-gussner
f9bdb8b8aa
Add DEBUG_EEPROM_CHANGES
2024-02-27 08:56:18 +01:00
Alex Voinea
af64d446bf
Fix MK2.5 build
2024-02-26 10:14:01 +01:00
Alex Voinea
aededa34bb
Properly check for Z crashes while lowering/raising Z for Z calibration
2024-02-26 10:13:56 +01:00
Alex Voinea
326019a8bf
Use stallguard during Z calibration after XYZ calibration
2024-02-26 10:13:51 +01:00
Guðni Már Gilbert
e207945154
MBL: optimise EEPROM read/writes
2023-10-25 17:36:15 +00:00
3d-gussner
2e70697fa7
Merge pull request #4183 from leptun/mbl_print_area
...
MBL print area
2023-09-13 10:28:08 +02:00
D.R.racer
abdfe07f3f
Force-move-Z after searching for XY calibration points
...
Bogus StallGuard readings may prevent the Z from moving at this spot which will result in other nasty behaviour.
2023-08-31 07:48:28 +02:00
Alex Voinea
7740a81edb
Do not store a global mbl_z_probe_nr
...
flash: -6
sram: 0? (somehow)
2023-08-17 07:53:39 +02:00
Alex Voinea
a15f536ff4
Combine BED_X/Y() and mbl::get_x/y()
...
flash: -112
2023-08-17 07:52:55 +02:00
Alex Voinea
dd1bde74dc
Fix Z calibration points
2023-08-17 07:52:55 +02:00
Guðni Már Gilbert
a9d0cc5e56
optimisation: Move divison into constexpr
...
Change in memory:
Flash: -12 bytes
SRAM: 0 bytes
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
90c21425c6
Optimize is_bed_z_jitter_data_valid()
2023-08-17 07:52:55 +02:00
Alex Voinea
6af5f5e2a2
Some code cleanup around homing_feedrate
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
8edfff39e4
MBL code cleanup
2023-08-17 07:51:15 +02:00
Alex Voinea
7b9f2086f4
MBL print area initial implementation
2023-08-17 07:51:15 +02:00
vintagepc
a2eafc587a
Merge branch 'MK3' into 2477-redux
2023-07-26 12:34:38 -04:00
Guðni Már Gilbert
21faa52aab
Rename axis_steps_per_unit to axis_steps_per_mm
2023-07-25 17:10:44 +02:00
VintagePC
e336e2ad08
Fix merge conflict/resync
2023-05-06 11:22:31 -04:00
Alex Voinea
9272545deb
Dead code cleanup
2023-04-23 12:25:10 +02:00
vintagepc
13f7ba81ff
Cleanup, share more M914/5/FORCE code
2023-02-25 15:49:15 -05:00
Guðni Már Gilbert
8c79bab503
optimisation: there is only one extruder when planning a line
...
Change in memory:
Flash: -50 bytes
SRAM: -3 bytes
2023-01-06 19:33:32 +01:00
Yuri D'Elia
b41ece175b
Handle CALIBRATION_STATUS_LIVE_ADJUST
2022-12-30 14:14:01 +01:00
Alex Voinea
ef83fefce1
More optimization
2022-11-18 14:50:07 +01:00
D.R.racer
455c29e78b
Optimize EEPROM usage/functions
2022-11-18 14:50:07 +01:00
Guðni Már Gilbert
03b8a6e464
Use raise_z in more places
...
Change in memory:
Flash: -474 bytes
SRAM: 0 bytes
2022-09-16 10:23:47 +02:00
3d-gussner
129b646c58
Fix MSG_ c=
...
Add MSG_ to messages.c/h
2022-09-14 11:33:24 +02:00
Alex Voinea
510f13b24a
Make the diag pins open collector with pullup.
...
Solves random crash detected on startup
2022-09-14 07:39:47 +02:00
Guðni Már Gilbert
37c9dcbe53
Optimise calculations to use hypot() where possible
...
flash: -122
RAM: 0
It is defined: hypot(x,y) = sqrtf(x*x + y*y)
2022-08-26 19:36:28 +03:00
Alex Voinea
380377db0f
Add static assert
2022-02-10 09:47:37 +01:00
Guðni Már Gilbert
9bf45773f9
Merge remote-tracking branch 'upstream/MK3' into rebase-testing-ground-v2
2022-01-30 11:43:16 +00:00
Guðni Már Gilbert
c705d4aa10
Change set_z() parameters to uin8_t
...
Saves 24 bytes of flash
2022-01-30 11:39:28 +00:00
Guðni Már Gilbert
52aa5a5f00
Use inlined function set_destination_to_current() in more places
...
Saves 70 bytes of flash memory
2022-01-30 11:39:23 +00:00
Guðni Már Gilbert
b716c208d7
Various optimisation to change int to uint8_t
...
This commit saves 174 bytes of flash memory
2021-08-03 22:42:01 +00:00
Guðni Már Gilbert
d853c19a21
Use fabs() instead of abs() when using floats
...
This saves 514 bytes of flash memory
2021-07-20 08:16:18 +02:00
3d-gussner
686054b95e
Changed `x of 4` and `y of 9` to `x/4` and `y/4`
...
Added `Iteration` translation
2021-04-27 20:22:28 +02:00
3d-gussner
b8ae08fd3d
Update `x of 4` and `x of 9` messages so longer text can be used.
2021-04-27 07:18:52 +02:00
espr14
99206884b5
Calibration: detect biased PINDA and retry calibration
...
PFW-1223
2021-03-12 05:04:49 +01:00
Yuri D'Elia
c241adec5f
Ensure babystep_apply|undo always uses the planner
...
The code around these calls _requires_ that the steps are immediately
processed and/or added to the subsequent planner moves.
The only part that doesn't care about immediate insertion is the
direct user-insertion though the lcd encoder.
2021-02-25 16:44:16 +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
espr14
d7507649d8
Remove degree char
2021-01-12 00:28:46 +01:00
espr14
333526f65d
Single skew output
2021-01-11 23:14:12 +01:00
espr14
e6e44fe188
Convert to degrees
2021-01-11 23:13:08 +01:00
espr14
b8443b00ad
Reverse reverse
2021-01-11 22:18:50 +01:00
espr14
09892bec52
Reverse
2021-01-11 18:46:56 +01:00