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
3feaef6526
Have G92 set the nozzle position on Delta and SCARA
10 years ago
Scott Lahteine
6c27eaf864
Merge pull request #2101 from thinkyhead/code_style
...
Code style and a dangling "else"
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
273a4a253f
Merge pull request #2096 from thinkyhead/cherry_picking3
...
Hide M117 with no LCD
10 years ago
Scott Lahteine
64825a3d1e
Merge pull request #2095 from thinkyhead/cherry_picking2
...
Add gcode_line_error to reduce code size
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
19166a92e4
Merge pull request #2057 from Wurstnase/serial_wait
...
add plan buffer remaining for 'P' and block buffer remaining 'B'
10 years ago
Scott Lahteine
e97fcafd0e
Merge pull request #2076 from thinkyhead/mendel_inverting
...
Use MSG_OK in M105
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
7b3acfbb6f
Merge pull request #2072 from thinkyhead/better_arc_code
...
Consolidate arc code, remove motion_control.*
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
747fd5801c
Merge pull request #2055 from thinkyhead/thermal_unified
...
Combine thermal runaway and watch-period
10 years ago
Scott Lahteine
6e5572228d
Merge pull request #2064 from thinkyhead/wait_before_g28
...
Split up prepare_move by type
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
bd20bd5444
Merge pull request #2063 from chris-bo/autobed_sled
...
improve sled handling
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
Scott Lahteine
8a0dc4d54a
Merge pull request #1922 from Wurstnase/serial_wait
...
Serial wait
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
4097207c75
Merge pull request #2041 from thinkyhead/watch_temp
...
More thermal protection
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
Wurstnase
182e0d99c9
Merge remote-tracking branch 'Marlin8bit/Development' into serial_wait
10 years ago
Scott Lahteine
7f3252eea9
Merge pull request #1999 from paclema/Filrunout_configurable_script
...
Added configurable script for filrunout from configuration.h
10 years ago