Commit Graph

4204 Commits

Author SHA1 Message Date
Voinea Dragos
31a6270f69 Abuse \n in lcd printing instead of constantly calling other functions
"other functions" being lcd_set_cursor and lcd_print(char). Saves 100B of flash
2021-01-22 20:12:11 +02:00
Voinea Dragos
4d3f056b81 Fix factory reset menu rendering 2021-01-22 20:07:27 +02:00
Voinea Dragos
37c431abd9 another lcd_puts_at_P 2021-01-22 19:44:46 +02:00
D.R.racer
3ccd1b2b2b Refactor lcd_set_cursor + lcd_puts_P -> lcd_puts_at_P
saves considerable amount of flash
2021-01-22 18:34:47 +01:00
Voinea Dragos
da21916473 Change printf_P without format arguments and NL to puts_P only 2021-01-22 18:56:05 +02:00
D.R.racer
9b34789398 Cleanup reset_menu() 2021-01-22 17:54:44 +01:00
D.R.racer
90d22a376d Remove unused vars in xyzcal.cpp 2021-01-22 17:50:08 +01:00
D.R.racer
2780a03967 Improve duplicate_Tcode_ignored
kudos to @leptun
2021-01-22 17:47:44 +01:00
D.R.racer
3dc85b319c Marlin_main.cpp hacks
- code_seen("string") -> code_seen_P(PSTR("string")) saved >100B of RAM!
- serial print "." -> '.' saved some code
- extract commonly used string
- SERIAL_PROTOCOLLN("") -> SERIAL_PROTOCOLLN() as no argument is
necessary
2021-01-22 17:15:36 +01:00
D.R.racer
4dec171266 Reduce code by 104 bytes in xyzcal.cpp
Extract CLAMP_median into a non-inline function.
The extra instructions to call that function do not matter from the
speed perspective
2021-01-22 17:13:28 +01:00
D.R.racer
c710253cca Code cleanup and size reduction and RAM optimization
Replase single character strings with single characters when calling
lcd_print
2021-01-22 17:11:51 +01:00
DRracer
f809691003
Merge pull request #2968 from espr14/PFW-1186
Calibration: reduce code size PFW-1186
2021-01-22 14:05:13 +01:00
DRracer
eceb7b4e5f
Merge pull request #2981 from 3d-gussner/PFW-1140-2
PFW-1140 Add fan speed and position auto report
2021-01-22 13:00:23 +01:00
DRracer
defbaa6ff8
Merge branch 'MK3' into PFW-1186 2021-01-22 12:46:25 +01:00
DRracer
4c952a0a9c
Merge pull request #2962 from espr14/PFW-1178
Calibration: code cleaning PFW-1178
2021-01-22 12:41:24 +01:00
3d-gussner
008c6a2590 Remove defines 2021-01-22 12:26:29 +01:00
DRracer
ab59449b7c
Merge pull request #2961 from espr14/PFW-1179
Calibration: print skew results PFW-1179
2021-01-22 12:24:52 +01:00
DRracer
85f2c29dfe
Merge pull request #2960 from espr14/PFW-1169-3
Calibration: more accelerations, fix scan, more robust circle search PFW-1169
2021-01-22 12:20:35 +01:00
3d-gussner
ede3f34051 Documentation 2021-01-22 10:40:29 +01:00
D.R.racer
31951fe8c9 Code refactoring
Motivation:
- save some RAM joining the autoreport flags into 1 byte
- encapsulate the magic of setting bit masks/features into a class with
a stable public interface
2021-01-20 11:46:25 +01:00
3d-gussner
9264454d3a Gcode M123 only if FANCHECK and TACHOs are defined
Gcode `M155` added parameter "C" to activate auto-report for temperatures, fans and positions
Updated doxygen
@todo Update RepRap Wiki
@todo improve code
2021-01-19 09:01:46 +01:00
espr14
735895c6bc Use fabs 2021-01-14 16:38:34 +01:00
espr14
ca4e638ea2 Don't use extrusion in XYZ calibration 2021-01-14 13:19:30 +01:00
espr14
9867ecd3f9 Reduce unnecessary code 2021-01-13 13:59:20 +01:00
espr14
21d6f970ef Fix build 2021-01-12 16:26:46 +01:00
espr14
f3faf651c5 Move down before scanning 2021-01-12 16:12:34 +01:00
espr14
9dceb488b6 Revert double scanning 2021-01-12 16:04:04 +01:00
DRracer
b71f1be37a
Merge pull request #2957 from wavexx/remove_stray_newline
Remove stray serial newlines in fsensor autoload messages
2021-01-12 14:46:08 +01:00
espr14
546812294e Clean serial output 2021-01-12 00:34:28 +01:00
espr14
d7507649d8 Remove degree char 2021-01-12 00:28:46 +01:00
espr14
180af46fe4 Try double height 2021-01-12 00:27:06 +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
Yuri D'Elia
78f8f1e8f9 Remove stray serial newlines in fsensor autoload messages 2021-01-11 18:31:36 +01:00
espr14
211e5f5f37 Define DBG output 2021-01-11 17:31:26 +01:00
espr14
904a23b69e Report calibration results 2021-01-11 17:02:41 +01:00
espr14
2e40a27460 Alignment, comments 2021-01-11 15:40:12 +01:00
DRracer
4728bf2182
Merge pull request #2875 from wavexx/raise_while_preheating
Raise Z while preheating when auto/[un]loading the filament
2021-01-11 07:45:54 +01:00
DRracer
1a6b6fb491
Merge pull request #1776 from wavexx/unused_tmc_defines
Remove an unused define
2021-01-11 07:43:44 +01:00
DRracer
ef51652e39
Merge pull request #1758 from wavexx/disable_filament_checks_in_extr_menu
Disable filament checks inside the Move -> Extruder menu
2021-01-11 07:42:25 +01:00
3d-gussner
a064ce4722 Add gcode M123 Tachometer value 2021-01-10 15:15:44 +01:00
DRracer
5c3513a6cc
Merge pull request #2397 from odaki/flashair_display_ip
Show the FlashAir IP address
2021-01-08 12:20:12 +01:00
DRracer
f1f4db0a35
Merge pull request #2850 from 3d-gussner/MK3_PF-build_Fix_EN_ONLY
🐛Fix: PF-build EN_ONLY argument
2021-01-08 12:15:36 +01:00
3d-gussner
67ff9b6b48 Fix typos 2021-01-08 11:01:17 +01:00
3d-gussner
007e59d23c Comment out 'sudo' auto installation
Add '-?' '-h' help output
2021-01-08 11:37:47 +01:00
espr14
584177e8fd Fix E mask 2021-01-08 10:24:36 +01:00
DRracer
f549ce690a
Merge pull request #2949 from prusa3d/MK3_3.9.3
Merge 3.9.3 back into MK3
2021-01-08 10:20:40 +01:00
3d-gussner
3329d34ce4 Fix doxygen issue with "^" and "|" only in one line
Doxygen 1.8.13 had no issues but newer doxygen version are failing
to build tables, if a line only consists of "^" and "|"
2021-01-08 09:40:13 +01:00