Scott Lahteine
1116e13f5a
Further optimization of command parser
10 years ago
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 years ago
Scott Lahteine
0f2c9bacfd
M33 LONG_FILENAME_HOST_SUPPORT
10 years ago
Scott Lahteine
3feaef6526
Have G92 set the nozzle position on Delta and SCARA
10 years ago
Scott Lahteine
d580a0d186
Use "+=" in plane rotation
10 years ago
Scott Lahteine
2f3a410cb0
Fix a potential hanging "else" bug
10 years ago
Scott Lahteine
b83e3f0905
Combine "Bed X: " strings
10 years ago
Scott Lahteine
7dfb8becdb
Adjust some names and types in Marlin_main.cpp
10 years ago
Scott Lahteine
c966aa26ff
Comments in Marlin_main.cpp
10 years ago
Scott Lahteine
c54a2ea042
Adjust spacing in Marlin_main.cpp and stepper.*
10 years ago
Scott Lahteine
072625ccad
Update headings in Marlin_main.cpp and stepper.cpp
10 years ago
Scott Lahteine
16032f149f
Rename to codenum as a consistency
10 years ago
Scott Lahteine
ca79282eaf
Hide M117 with no LCD
10 years ago
Scott Lahteine
ce218cafdb
Add gcode_line_error to reduce code size
10 years ago
Scott Lahteine
46d59784ad
Rename preocess_command to process_next_command
10 years ago
Scott Lahteine
0f6cd3640b
Drop extraneous ok_to_send
10 years ago
Scott Lahteine
0ce355d9e7
Use MSG_OK in M105
10 years ago
Scott Lahteine
68ce419147
Note on segment size
10 years ago
Scott Lahteine
8b92249f18
Bring arc_offset into auto scope
10 years ago
Scott Lahteine
80807b2d71
Consolidate arc code, remove motion_control.*
10 years ago
Scott Lahteine
f65833931d
Formatting tweaks
10 years ago
Scott Lahteine
27ad381e25
Allow fractional seconds in G4 and M0
10 years ago
Scott Lahteine
b2bd9aae7c
SCARA_SEGMENTS_PER_SECOND
10 years ago
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 years ago
Christian Bohn
f48599f172
add pin definition to some motherboards
10 years ago
Scott Lahteine
b5200e184c
Remove extra setup_for_endstop_move
10 years ago
Scott Lahteine
8d814de558
Return void in prevent_dangerous_extrude
10 years ago
Scott Lahteine
367e2eb9f4
Global setup_for_endstop_move
10 years ago
Scott Lahteine
fa951f8a0b
Always do st_synchronize() before G28
10 years ago
Christian Bohn
27a3b1d895
disable sled pin by default
10 years ago
Christian Bohn
fb44b53ae3
sled improvements
- create sled pin definition
- G28 Works with sled
10 years ago
Wurstnase
46d1932380
add plan buffer remaining for 'P' and block buffer remaining 'B'
10 years ago
Wurstnase
526ad82d20
activate advanced_ok and no_timeout
10 years ago
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 years ago
Scott Lahteine
9b3d4380d3
Only watch the heater that was set
10 years ago
Scott Lahteine
f73f4ce555
Make some z probe and servo code tweaks
10 years ago
Scott Lahteine
54deb9eea3
Enable WATCH_TEMP_PERIOD by default
10 years ago
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 years ago
Scott Lahteine
79633a74ab
Fix MBL compile error
10 years ago
fmalpartida
150a35eff8
Bug corrected:
Persistent homing message.
Message was declared as an alert, therefore it was persistent.
Updated to message.
10 years ago
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 years ago
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 years ago
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 years ago
Scott Lahteine
d065d37822
Add M428 to set home_offset logically
10 years ago
paclema
013a09dbe6
Added configurable script for filrunout form configuration.h
10 years ago
paclema
4dcc0fd55a
Fixed sintaxis error of filament runout
10 years ago
Scott Lahteine
ce3caf447b
Tweak how homeaxis deploys and stows
10 years ago
Scott Lahteine
a235dca79c
Stow z on M402 without extra raise
10 years ago
Scott Lahteine
71a0b1a5bb
Disable endstops between homing bumps
10 years ago
Scott Lahteine
c36226c4dc
Fix homing Z position
Add `sync_plan_position()` after `axis_is_at_home(axis)` to keep the
planner position in sync when homing.
10 years ago