Scott Lahteine
b07a2aa23c
Add HAS_MESH conditional
2017-10-14 02:39:12 -05:00
Slawomir Ciunczyk
167058b61f
Different NEOPIXEL types
...
Changes to support NEOPIXEL LED strips
- Support for different NEOPIXEL as defined in Adafruit_NeoPixel.h
- ability to setup startup brightness
- ability to define sequential/non-sequential transition of color change during heating-up
- additional parameter to M150 P<brightness>
2017-10-10 01:58:40 -05:00
Scott Lahteine
f835245ee1
Merge pull request #7908 from thinkyhead/bf1_goodbye_legacy_advance
...
[1.1.x] Remove legacy ADVANCE feature
2017-10-10 00:31:39 -05:00
deram
9239fcf0da
Allow UBL G29 and G26 to build without a probe
2017-10-09 18:37:53 -05:00
jmdearras
c7e0a49c94
Add some new LCD displays
...
- Original CR-10
- MKS Mini Display
2017-10-09 17:39:03 -05:00
Scott Lahteine
ae256576e1
Bring configs into parity with 2.0.x
2017-10-09 17:38:39 -05:00
Scott Lahteine
cbfcce09fa
Remove legacy ADVANCE feature
2017-10-09 04:27:45 -05:00
Scott Lahteine
e2ceb1b800
Merge pull request #7632 from GMagician/Wrong-sanitycheck-message-fix
...
Addressing #7612
2017-10-07 02:25:35 -05:00
DecoyPlatypus
70a64355f6
Fixed LCD_FOR_MELZI SanityCheck
...
Sanity Check for LCD_FOR_MELZI would fail with "Please select no more than one LCD controller option" any time #define LCD_FOR_MELZI was enabled in Configuration.h, even if there were no other LCD options enabled.
2017-09-27 03:01:09 -05:00
GMagician
5b87843fae
Addressing #7612
...
Replaced extruder with hotend
2017-09-07 19:07:36 +02:00
Marcio Teixeira
d69c5317df
Added option for graphical overlay for Z-offset
2017-08-31 14:21:39 -06:00
Vben
c0409b85e7
New feature: Part-Cooling Fan Multiplexer
2017-08-18 15:59:04 -05:00
Vben
4817b39d98
Added new feature for AutoParking Extruder (APE)
2017-08-16 17:33:11 -05:00
Scott Lahteine
b2822a59f9
Add a sanity check for valid bed size
2017-08-05 03:49:04 -05:00
Scott Lahteine
dd66d21749
Extend DEACTIVATE_SERVOS_AFTER_MOVE sanity-check
...
As proposed in #7429
2017-08-05 03:48:52 -05:00
Dave Johnson
936dfb965c
Clarify LCD_BED_LEVELING requirements
...
LCD_BED_LEVELING requires PROBE_MANUALLY with auto bed leveling enabled. See #7396
2017-08-01 14:13:54 -07:00
Scott Lahteine
423b0f3a1e
Replace MIN_RETRACT with MIN_AUTORETRACT, MAX_AUTORETRACT
2017-07-27 04:14:29 -05:00
Scott Lahteine
51864fd365
Add bed size as a configuration option
2017-07-26 23:04:54 -05:00
C. Scott Ananian
890e7a16a9
Add support for Printrbot Neopixel RGBW strip.
...
Connected as described at http://printrbot.com/shop/led-strip/
Based on patch by Kelly Anderson <kelly@xilka.com> at
http://www.xilka.com/printrbot/marlin/1.1.4/20170707/
2017-07-22 16:07:55 -05:00
LVD-AC
3efe4aeef8
Add PROBE_MANUALLY support to G33
2017-07-04 18:06:54 -05:00
Dave Johnson
20f6676d63
DISABLE_[XYZ] compatibility check
...
DISABLE_[XYZ] is incompatible with HOME_AFTER_DEACTIVATE and Z_SAFE_HOMING
2017-07-03 17:23:53 -07:00
Scott Lahteine
167169e1bf
Sanity check for a real probe with M48
2017-07-02 02:27:09 -05:00
Scott Lahteine
232a10410d
LCD_FOR_MELZI
2017-07-01 22:32:20 -05:00
Scott Lahteine
6c97c5595c
Add a sanity check for DELTA_AUTO_CALIBRATION
2017-06-29 15:03:19 -05:00
Scott Lahteine
fc140c4962
Followup for I2C_POSITION_ENCODERS
2017-06-27 20:46:40 -05:00
Scott Lahteine
5b11b33854
Add support for Průša MK2 Multiplexer
2017-06-27 04:55:30 -05:00
Bob-the-Kuhn
9651d01e1a
Add Skynet/ANET A10 support
2017-06-24 19:07:03 -05:00
Bob-the-Kuhn
41bfff14e2
Merge pull request #6991 from Bob-the-Kuhn/Mesh-with-babystepping
...
Mesh with BABYSTEP_ZPROBE_OFFSET: add sanity check
2017-06-20 16:36:22 -05:00
Scott Lahteine
907cafcbfd
Support for two switching extruders
2017-06-19 17:20:59 -05:00
Bob-the-Kuhn
8fb30aaed6
warn user of an invalid combination
2017-06-17 15:04:47 -05:00
Jim Brown
3d043976f7
Add option to disallow filament change without homing first
2017-06-16 13:32:17 -05:00
dot-bob
0bc66bf22c
PCA9632 PWM color LED support
...
Add support for the PCA9632 PWM color LED driver used on the Ultimaker 2 and Wanhao Duplicator 6.
2017-06-12 01:09:24 -05:00
Thomas Moore
e47029199e
Remove ADVANCED_PAUSE_FEATURE requirement for PROBING_HEATERS_OFF ( #7000 )
...
* Remove ADVANCED_PAUSE_FEATURE requirement for PROBING_HEATERS_OFF
* Add HEATER_IDLE_HANDLER conditional
2017-06-12 00:22:31 -05:00
bgort
2f55870edb
[New Feature] I2C position encoder support ( #6946 )
...
* [New Feature] I2C position encoder support
I plan to continue improving/cleaning this up, as there areas that need work.
* let the cleanups begin.
* progress
* more progress
* comments, rename files, etc.
* clean
* Cleanups per thinkyhead
* a few more cleanups
* cleanups, bugfixes, etc.
* remove unnecessary passes_test(), additional cleanups/optimizations
* cleanups
* misc.
* Fix up I2CPEM.init() and a few other things.
* organize, fix, rename, etc.
* more optimization
* a few more tweaks
2017-06-09 08:06:23 -04:00
Scott Lahteine
9128d9ab45
Improve sanity checks with static_assert, organize
2017-06-07 16:07:38 -05:00
Scott Lahteine
c9e3caf928
Save lots of PROGMEM, ~20b SRAM with DIGIPOT_I2C
2017-06-07 16:07:38 -05:00
bgort
82e662fc69
Remove requirement for LCD when UBL is used. ( #6971 )
...
* Remove requirement for LCD when UBL is used.
* fix previous oversights
* further refinement - error messages for P2 & P4
* require R on G26 when not using LCD; default to all points
2017-06-07 02:24:36 -04:00
Scott Lahteine
c74d4dede6
Prevent illegal leveling combinations
...
Addressing issue #6901
2017-05-31 23:36:57 -05:00
Scott Lahteine
89b93058e3
Merge pull request #6887 from christianh17/PR-sanitycheck
...
enable DEACTIVATE_SERVOS_AFTER_MOVE with switching nozzle
2017-05-30 13:43:39 -05:00
Scott Lahteine
84a0a77c59
Merge pull request #6852 from tcm0116/mixing_extruder_lin_advance
...
Generate error if MIXING_EXTRUDER and LIN_ADVANCE are both enabled
2017-05-30 13:37:51 -05:00
christianh17
f379a326cc
enable DEACTIVATE_SERVOS_AFTER_MOVE with switching nozzle
...
When using switching nozzle it should be possible to disable the servo after move. Do it only if you do not need the servo power to keep the position.
2017-05-28 15:33:28 +02:00
Thomas Moore
fb5e0ffe16
Unify M600 and M125 pause features ( #6407 )
...
* Unify M600 and M125 pause features
* Cleanup per thinkyhead's comments
* Rename filament_change_menu_response to advanced_pause_menu_response
* Include HAS_BED_PROBE in QUIET_PROBING
* Update gMax example file
* is_idle() is out of scope without the braces
* Convert FT-i3-2020 to Advance Pause names...
* Allow pause even if not printing
2017-05-26 13:01:02 -05:00
Thomas Moore
44e657766e
Add incompatibility error to Sanity Check for MIXING_EXTRUDER and LIN_ADVANCE
2017-05-25 08:06:27 -05:00
Roxy-3D
3129260c44
Misc. Clean Up ( #6822 )
...
* Misc. Clean Up
Mostly UBL related clean up.
- But fixed a bug in the thermistortables.
- Made G26 more responsive to user aborts.
- Added sanity checks for older name for UBL_MESH_VALIDATION.
- Made G29 P4 able to edit invalidated mesh points
- Restore a reasonable Fade Height for UBL when creating new state information
- Get UBL's Topology Map to look a little bit better
- Make sure the user doesn't see a blank screen when doing Mesh Editing.
* Huh??? GitHub Desktop screwed up!
* get the planner object in scope
* Fix out of scope z_fade_height
* Travis timed out...
I need a change so I can force a new commit and sync.
2017-05-21 22:09:51 -05:00
Roxy-3D
364f8fb613
Update Configuration.h files to better names ( #6814 )
...
Changed UBL_G26_MESH_EDITING to UBL_G26_MESH_VALIDATION
Added UBL_MESH_EDIT_MOVES_Z to prepare for that change (coming next)
2017-05-21 11:10:22 -05:00
Scott Lahteine
75badae2f8
Disable PROBE_MANUALLY for UBL
...
Plus some other UBL tweaks.
2017-05-19 07:13:18 -05:00
Scott Lahteine
99c4900a98
SPINDLE/LASER config changes
2017-05-17 04:23:06 -05:00
fixoid
c2321b1cdd
Separate SWITCHING_NOZZLE and SWITCHING_EXTRUDER
2017-05-16 19:25:17 -05:00
Scott Lahteine
0696dda470
Cleanups to UBL_DELTA
2017-05-12 02:34:53 -05:00
oldmcg
91841d75c9
UBL_DELTA ( #6695 )
...
UBL on Delta's.... Should be close! Should not affect any Cartesian printer.
2017-05-11 22:33:47 -05:00
Max Matveev
267f3a03d9
Fixed USE_CONTROLLER_FAN #define usage
2017-05-04 23:38:29 +02:00
Scott Lahteine
2c13922c46
Implement USE_CONTROLLER_FAN as a feature
2017-05-02 20:18:52 -05:00
Scott Lahteine
c03c623951
Sanity-check Z2 endstop assigned to a nonexistent pin.
2017-05-02 15:39:00 -05:00
Scott Lahteine
d60c02c5b1
Cleanup, extend TMC2130 configuration
2017-04-14 22:43:56 -05:00
Scott Lahteine
fd2a0784ba
Add support for SOLENOID_PROBE
2017-04-14 17:24:36 -05:00
Scott Lahteine
52c3ace102
Add BABYSTEP_ZPROBE_OFFSET as an optional feature
2017-04-13 16:29:43 -05:00
Scott Lahteine
34308368c0
Sanity check per-axis settings for size
2017-04-13 11:35:20 -05:00
Scott Lahteine
dac21ec680
Add support for an RGBW LED
2017-04-11 12:58:55 -05:00
Scott Lahteine
e7746ffee4
Extend RGB LED support, adding Printer Events
2017-04-11 12:15:41 -05:00
Paweł Stawicki
9b0885f4f6
Allow boards without a thermistor
2017-04-09 06:45:41 -05:00
Scott Lahteine
2a84122edd
Configuration changes to support 5 extruders
2017-04-07 10:46:35 -05:00
Scott Lahteine
eb1e6aa29b
Use same config name for all mesh dimensions
2017-04-06 00:42:52 -05:00
Scott Lahteine
b47fd31c37
Revert some changes to UBL
2017-04-01 21:53:45 -05:00
Scott Lahteine
9e22184936
Add a "manual" option for ABL
2017-03-31 11:50:18 -05:00
Scott Lahteine
541165e878
Merge pull request #6181 from thinkyhead/rc_ubl_further_fixes
...
Further adjustments to UBL code
2017-03-31 11:35:02 -05:00
Scott Lahteine
b19a15fa7f
Within applied to UBL
2017-03-31 11:12:57 -05:00
Scott Lahteine
25a6bfa7ed
Add and apply WITHIN macro
2017-03-31 09:27:48 -05:00
Stefan Brüns
0fe57ad4f5
Add Support TinyBoy2 OLED/Encoder panel
...
The OLED is driven by an SSD1306, connected to the board via
I2C, the rotary encoder is connected to 3 GPIO pins.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
2017-03-31 04:05:34 -05:00
Scott Lahteine
e244399766
Additional cleanup of UBL code
2017-03-22 20:51:10 -05:00
Scott Lahteine
26473cab6d
Add PARK_HEAD_ON_PAUSE feature
2017-03-19 05:06:55 -05:00
Scott Lahteine
cf94688925
Univeral Bed Leveling - configuration
2017-03-18 11:35:19 -05:00
Scott Lahteine
af644871bf
Merge pull request #6045 from thinkyhead/rc_remove_raw_kinematics
...
Remove delta optimization concepts… for now
2017-03-18 03:26:24 -05:00
Scott Lahteine
b865b21d32
Can't use Z fade height with DELTA
2017-03-17 08:34:47 -05:00
Scott Lahteine
0e410c9dfd
Software endstop options as simple switches
2017-03-17 06:05:17 -05:00
Scott Lahteine
3e927ff204
Replace MBL Z hacking
2017-03-17 06:05:17 -05:00
Scott Lahteine
e7e4500629
Simplify some sanity checks with static_assert
2017-03-16 16:31:34 -05:00
Scott Lahteine
47f9883b0f
Dynamic allocation for SDCARD_SORT_ALPHA
2017-02-14 21:37:25 -06:00
Scott Lahteine
a561bd5e3a
New feature: SDCARD_SORT_ALPHA
2017-02-14 21:37:24 -06:00
Scott Lahteine
4061fca1ad
Sanity checks for FILAMENT_CHANGE_FEATURE and FILAMENT_RUNOUT_SCRIPT
2016-12-23 19:55:12 -08:00
Scott Lahteine
dcfbe2bd3c
Throw an error for gcc before 4.7
2016-12-19 18:30:51 -08:00
Scott Lahteine
1b2fb2bdc7
ABL_GRID_POINTS_* => ABL_GRID_MAX_POINTS_*
2016-12-15 19:08:41 -08:00
Scott Lahteine
da6a094424
Sanity-check inverting and pullups for Z probe and Z endstop
...
`Z_MIN_ENDSTOP_INVERTING` must match `Z_MIN_PROBE_ENDSTOP_INVERTING`
when using `Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN`.
This is easy to overlook.
2016-12-08 00:12:19 -08:00
Scott Lahteine
65c50e062e
Support for an RGB LED using 3 pins
2016-11-30 00:02:31 -06:00
Scott Lahteine
1864b282c5
Implement reversed CORE options
2016-11-05 23:47:51 -05:00
Scott Lahteine
ad38d91692
Sanity check that auto fan pins can do PWM
2016-10-26 18:38:32 -05:00
Scott Lahteine
d439fb95f7
Sanity check for the renamed options
2016-10-26 17:51:26 -05:00
Scott Lahteine
b6aa894893
Rename auto fan pins and add auto fan flags
2016-10-26 17:51:26 -05:00
Scott Lahteine
ada935de87
Allow TEMP_STAT_LEDS with only one LED defined
2016-10-26 17:51:26 -05:00
Scott Lahteine
a4a7ca10ca
Make USE_DELTA_IK_INTERPOLATION compatible with ABL
2016-10-09 15:58:32 -05:00
Josef Pavlik
f8c2473a71
Improve planner kinematics, fix delta ABL
2016-10-09 13:32:46 -05:00
Scott Lahteine
d19cfcfc1d
max_jerk array, DEFAULT_XYJERK => DEFAULT_[XY]JERK
2016-10-02 06:34:56 -05:00
Scott Lahteine
919fe3e4b8
Rename feature to G38_PROBE_TARGET
2016-10-01 05:00:53 -05:00
Scott Lahteine
a2864ab7fe
Patched up, cleaned up
2016-10-01 05:00:53 -05:00
Scott Lahteine
d234bc160e
Require Arduino 1.6.8 to compile
2016-09-29 02:00:27 -05:00
Scott Lahteine
ea0dbee3c9
Enable ABL by type, support bilinear on cartesian
2016-09-25 23:35:37 -05:00
Scott Lahteine
07703d2bd6
Use _PIN suffix on some pins
2016-09-25 06:33:38 -05:00
Scott Lahteine
203e519bf4
Sanity check for status LED pins
2016-09-25 06:33:38 -05:00
Scott Lahteine
0951bffcc0
Sanity check homing bumps
2016-09-23 15:39:02 -05:00
Scott Lahteine
01f1028510
Try on "CLEARANCE" for size
2016-09-20 18:29:49 -05:00
Scott Lahteine
0e7d638a7a
Revert to Probe Raise rather than Probe Height
2016-09-20 18:29:49 -05:00
Scott Lahteine
e05af606a8
Clean up probe config options
2016-09-19 00:26:16 -05:00
Scott Lahteine
c4dcfa254e
Allow override of Z_ENDSTOP_SERVO_NR with BLTOUCH
2016-09-18 22:00:32 -05:00
Scott Lahteine
7d9ebda478
Remove redundant servo probe sanity check
2016-09-18 21:46:18 -05:00
Scott Lahteine
e5505e3b33
Allow non-square leveling grid
2016-09-18 13:11:20 -05:00
Scott Lahteine
41d8149bce
Sanity check for more than 1 controller
2016-09-13 03:33:02 -05:00
Scott Lahteine
40785ce8ac
Use count method for kinematic sanity check
2016-09-13 03:33:02 -05:00
Scott Lahteine
3236762e07
Clean up sanity check for LCD_PROGRESS_BAR
2016-09-13 03:33:02 -05:00
Scott Lahteine
74d7f5e57b
Patch SCARA example config
2016-09-13 03:32:59 -05:00
Scott Lahteine
12b94e419f
Sanitycheck endstop plugs based on homing direction
2016-09-08 13:56:32 -05:00
Scott Lahteine
1e6d1c39ea
Improve verbiage of dropsegments sanity error
2016-08-28 19:40:32 -05:00
Scott Lahteine
a2572d2854
Fix Danish encoding and an error message
2016-08-28 09:51:06 -05:00
Scott Lahteine
ab59280075
MIN_SEGMENTS_FOR_MOVE => MIN_STEPS_PER_SEGMENT
...
Follow-up to #4666
2016-08-21 08:56:03 -05:00
Scott Lahteine
01d4703429
PREVENT_DANGEROUS_EXTRUDE => PREVENT_COLD_EXTRUSION
...
Also improve the documentation of this and related options, and set
EXTRUDE_MINTEMP to 170 everywhere.
2016-08-20 23:35:27 -05:00
Scott Lahteine
374f8d2014
dropsegments => MIN_SEGMENTS_FOR_MOVE
2016-08-20 18:52:15 -05:00
Scott Lahteine
9b1f3f7d12
Sanity-check DELTA + AUTO_BED_LEVELING_GRID_POINTS
2016-08-19 04:45:32 -05:00
Scott Lahteine
d63b8e2b2b
Additional details for I2C_SLAVE_ADDRESS
2016-08-15 19:27:53 -07:00
Scott Lahteine
8100a4dace
Fix a compile error in EMERGENCY_PARSER sanity check
2016-08-08 21:49:57 -07:00
Scott Lahteine
367dad5902
Sanity check Z_DUAL_ENDSTOPS with DELTA
2016-08-07 17:08:41 -07:00
Scott Lahteine
5ef4a5577c
Merge pull request #4537 from thinkyhead/rc_fix_some_flaws
...
Patch up some flaws here and there
2016-08-05 23:49:57 -07:00
Scott Lahteine
938e6d15c4
Patch up some flaws, here and there
2016-08-05 08:17:37 -07:00
Scott Lahteine
d7b882e430
Move tests for old symbols to the top of sanity check
2016-08-04 21:03:55 -07:00
Scott Lahteine
7e2bd9a233
Z_RAISE_PROBE_* => Z_PROBE_*_HEIGHT
2016-08-03 21:18:38 -07:00
Scott Lahteine
f1be87a85c
Move probe pin sanity checks out of ABL block
2016-08-02 20:55:17 -07:00
Scott Lahteine
63fd1f49a6
PID_EXTRUSION_SCALING, disabled by default
2016-07-31 17:49:34 -07:00
Scott Lahteine
c31f56a38c
Deprecate EXTRUDER_WATTS and BED_WATTS
2016-07-29 17:34:14 -07:00
Scott Lahteine
ea5ac94804
Improved MANUAL_[XYZ]_HOME_POS
...
No need for `MANUAL_HOME_POSITIONS`. Just set each one as-needed to
override the automatic behavior.
2016-07-28 19:51:48 -07:00
Scott Lahteine
c94b6dd3e7
Revert to SanityCheck on every .cpp file
2016-07-28 17:17:50 -07:00
Scott Lahteine
3be49881c0
Make SanityCheck.h a catch-all for obsolete configs
2016-07-26 12:41:40 -07:00
Scott Lahteine
fa647cca23
Do the sanity check just once per build
2016-07-26 12:37:14 -07:00
Scott Lahteine
1fe60b723f
Merge pull request #4400 from thinkyhead/rc_sanity_check_temp_sensor
...
Sanity check for too many temp sensors
2016-07-24 15:38:41 -07:00
Scott Lahteine
a5212bf277
Sanity check for too many temp sensors
2016-07-24 13:47:27 -07:00
Scott Lahteine
d6c50671d3
Sanitycheck: Z_SAFE_HOMING points are reachable
2016-07-24 10:54:47 -07:00
Scott Lahteine
a6203366b6
Sanitycheck: Z_SAFE_HOMING requires a probe
2016-07-24 10:54:25 -07:00
Scott Lahteine
91777dd76c
Add DUAL_NOZZLE_DUPLICATION_MODE option
2016-07-22 16:22:56 -07:00
Scott Lahteine
260bbb3109
Fix a couple of simple typos
2016-07-22 16:22:56 -07:00
Scott Lahteine
204fd6ec44
Set homing feedrates individually
2016-07-19 17:31:58 -07:00
João Brázio
47fef80848
Nozzle::clean() no longer requires HAS_BED_PROBE
2016-07-19 15:07:02 -07:00
Scott Lahteine
103d312f6d
MBL can actually do up to 9 x 9
2016-07-17 14:11:25 -07:00
Scott Lahteine
0fcd3706dd
Replace ENDSTOPS_ONLY_FOR_HOMING with ENDSTOPS_ALWAYS_ON_DEFAULT
2016-07-17 13:35:21 -07:00
Scott Lahteine
22b4cff423
New extruder type configuration options
2016-07-17 00:13:56 -07:00
João Brázio
4937f9ada4
Minor G12 tweaks and point_t struct extension
2016-07-14 00:07:36 +01:00
João Brázio
b05a75655a
Implements a nozzle cleaning pattern generator (G12)
2016-07-13 21:14:19 +01:00
Scott Lahteine
a8b6b6a128
Merge pull request #4252 from thinkyhead/rc_rename_hpb
...
Replace PLA/ABS preheating with generic
2016-07-12 20:00:33 -07:00
Scott Lahteine
0554b65d22
Merge pull request #4284 from thinkyhead/rc_serial_ln_macros
...
Sled-probe sanity fix, conditionals for remaining types of leveling
2016-07-12 16:36:33 -07:00
Scott Lahteine
655c3fd55f
Move delta ABL sanity checks up
2016-07-12 16:10:16 -07:00
Scott Lahteine
91bd6eade7
X_DUAL_STEPPER_DRIVERS configuration option
2016-07-11 10:22:19 -07:00
Scott Lahteine
1026e5b071
Replace PLA/ABS preheating with generic
2016-07-09 18:06:51 -07:00
Petr Zahradnik
a2159cfbc3
Error message change in SanityCheck.h
2016-07-09 17:57:54 -07:00
Petr Zahradník junior
315b4c2153
Runout sensor without SD Card
2016-07-09 17:57:53 -07:00
AnHardt
a129078927
Add an emergency-command parser to MarlinSerial (supporting M108)
...
Add an emergency-command parser to MarlinSerial's RX interrupt.
The parser tries to find and execute M108,M112,M410 before the commands disappear in the RX-buffer.
To avoid false positives for M117, comments and commands followed by filenames (M23, M28, M30, M32, M33) are filtered.
This enables Marlin to receive and react on the Emergency command at all times - regardless of whether the buffers are full or not. It remains to convince hosts to send the commands. To inform the hosts about the new feature a new entry in the M115-report was made. "`EMERGENCY_CODES:M112,M108,M410;`".
The parser is fast. It only ever needs two switch decisions and one assignment of the new state for every character.
One problem remains. If the host has sent an incomplete line before sending an emergency command the emergency command could be omitted when the parser is in `state_IGNORE`.
In that case the host should send "\ncommand\n"
Also introduces M108 to break the waiting for the heaters in M109, M190 and M303.
Rename `cancel_heatup` to `wait_for_heatup` to better see the purpose.
2016-07-07 16:37:22 -07:00