Scott Lahteine
a0f362c735
Simplify & optimize with current_command_args
преди 10 години
Scott Lahteine
adc8fcb77f
More parser comments, optimize code_seen, save with goto
преди 10 години
Scott Lahteine
c6d8dd19d9
use fetched value
преди 10 години
Scott Lahteine
1116e13f5a
Further optimization of command parser
преди 10 години
Scott Lahteine
3a4c3ab76e
Pre-sanitize the command before handling
- Use a global pointer for the current sanitized command
- Pre-sanitize the current command to bypass `N` and nullify `*`,
removing the need for handlers to bypass, ignore, or nullify these
parts, and reducing overhead for `code_seen`, etc.
- Pre-skip leading whitespace.
- Only look for G, M, T codes at the start of the command.
- Verify that G, M, T codes are followed by command codes.
преди 10 години
Scott Lahteine
0f2c9bacfd
M33 LONG_FILENAME_HOST_SUPPORT
преди 10 години
Scott Lahteine
3feaef6526
Have G92 set the nozzle position on Delta and SCARA
преди 10 години
Scott Lahteine
d580a0d186
Use "+=" in plane rotation
преди 10 години
Scott Lahteine
2f3a410cb0
Fix a potential hanging "else" bug
преди 10 години
Scott Lahteine
b83e3f0905
Combine "Bed X: " strings
преди 10 години
Scott Lahteine
7dfb8becdb
Adjust some names and types in Marlin_main.cpp
преди 10 години
Scott Lahteine
c966aa26ff
Comments in Marlin_main.cpp
преди 10 години
Scott Lahteine
c54a2ea042
Adjust spacing in Marlin_main.cpp and stepper.*
преди 10 години
Scott Lahteine
072625ccad
Update headings in Marlin_main.cpp and stepper.cpp
преди 10 години
Scott Lahteine
16032f149f
Rename to codenum as a consistency
преди 10 години
Scott Lahteine
ca79282eaf
Hide M117 with no LCD
преди 10 години
Scott Lahteine
ce218cafdb
Add gcode_line_error to reduce code size
преди 10 години
Scott Lahteine
46d59784ad
Rename preocess_command to process_next_command
преди 10 години
Scott Lahteine
0f6cd3640b
Drop extraneous ok_to_send
преди 10 години
Scott Lahteine
0ce355d9e7
Use MSG_OK in M105
преди 10 години
Scott Lahteine
68ce419147
Note on segment size
преди 10 години
Scott Lahteine
8b92249f18
Bring arc_offset into auto scope
преди 10 години
Scott Lahteine
80807b2d71
Consolidate arc code, remove motion_control.*
преди 10 години
Scott Lahteine
f65833931d
Formatting tweaks
преди 10 години
Scott Lahteine
27ad381e25
Allow fractional seconds in G4 and M0
преди 10 години
Scott Lahteine
b2bd9aae7c
SCARA_SEGMENTS_PER_SECOND
преди 10 години
Scott Lahteine
9e95ceb3fc
Split up prepare_move by type
- For better encapsulation add inlines for each prepare_move type
- Move controllerFan vars inside the function as statics
- Some formatting cleanup
- Rename `ClearToSend` as `ok_to_send`
преди 10 години
Christian Bohn
f48599f172
add pin definition to some motherboards
преди 10 години
Scott Lahteine
b5200e184c
Remove extra setup_for_endstop_move
преди 10 години
Scott Lahteine
8d814de558
Return void in prevent_dangerous_extrude
преди 10 години
Scott Lahteine
367e2eb9f4
Global setup_for_endstop_move
преди 10 години
Scott Lahteine
fa951f8a0b
Always do st_synchronize() before G28
преди 10 години
Christian Bohn
27a3b1d895
disable sled pin by default
преди 10 години
Christian Bohn
fb44b53ae3
sled improvements
- create sled pin definition
- G28 Works with sled
преди 10 години
Wurstnase
46d1932380
add plan buffer remaining for 'P' and block buffer remaining 'B'
преди 10 години
Wurstnase
526ad82d20
activate advanced_ok and no_timeout
преди 10 години
Scott Lahteine
2445ae3d3a
Combine thermal runaway and watch-period
- Make thermal protection for all hotends and/or bed into simple
switches
- Now enable `WATCH_TEMP_PERIOD` when `THERMAL_PROTECTION_HOTENDS` is
enabled
- Move detailed thermal parameters to `Configuration_adv.h`
- Add sanity checks to warn about old configurations
- Change `WATCH_TEMP_PERIOD` to seconds instead of milliseconds
преди 10 години
Scott Lahteine
9b3d4380d3
Only watch the heater that was set
преди 10 години
Scott Lahteine
f73f4ce555
Make some z probe and servo code tweaks
преди 10 години
Scott Lahteine
54deb9eea3
Enable WATCH_TEMP_PERIOD by default
преди 10 години
Wurstnase
0cb87795a3
advanced 'ok'
ok N(linenumber) P(bufferremaining)
the host can use this to send the data much faster.
Some pseudo code:
If (bufferremaining > 0) send command
## as long there is free buffer send command
Also
if (linenumber > lastsend - bufferremaining) send command
## as long last linenumber received is bigger than lastsend (host) - last bufferremaining received
преди 10 години
Scott Lahteine
79633a74ab
Fix MBL compile error
преди 10 години
fmalpartida
150a35eff8
Bug corrected:
Persistent homing message.
Message was declared as an alert, therefore it was persistent.
Updated to message.
преди 10 години
Gina Häußge
ab246ab032
Reverting changes to error messages on serial console
This reverts the changes done to the error message for line number mismatches done in commit d43cc2dd5f
преди 10 години
Ivan Galvez Junquera
59529b755d
Fixed lowercase change missing on commit a22a228b .
Servo.cpp and Servo.h were changed to lowercase in Makefile but not their actual filenames.
преди 10 години
Scott Lahteine
d4c74b8f8c
Don't apply M428 if an error occurs
- Also move audio feedback into the command
- Added shorthand for `lcd_buzz` availability
преди 10 години
Scott Lahteine
d065d37822
Add M428 to set home_offset logically
преди 10 години
paclema
013a09dbe6
Added configurable script for filrunout form configuration.h
преди 10 години
paclema
4dcc0fd55a
Fixed sintaxis error of filament runout
преди 10 години
Scott Lahteine
ce3caf447b
Tweak how homeaxis deploys and stows
преди 10 години