esenapaj
c2c8ab4698
Follow-up the PR #4278 (Fixups for PID_ADD_EXTRUSION_RATE and HOTENDS==1)
8 vuotta sitten
Scott Lahteine
cdd77d23bb
Neaten up temperature member data
8 vuotta sitten
Scott Lahteine
d4c68279c8
Add "P" parameter to M302
8 vuotta sitten
Scott Lahteine
11dcbae7a2
Only a single E axis. Can tool-change reseed position[E_AXIS]?
8 vuotta sitten
Scott Lahteine
182c8d7f8f
Dyze High Temp Thermistor Support
8 vuotta sitten
Scott Lahteine
ee0983ab57
Further reduction when HOTENDS == 1
8 vuotta sitten
Scott Lahteine
b72238f406
Invariant get_pid_output with HOTENDS < 2
8 vuotta sitten
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.
8 vuotta sitten
Scott Lahteine
bd491818d6
Reduce storage requirements for strings, make some PGM
8 vuotta sitten
João Brázio
664232140d
Fixes somes compiler warnings
8 vuotta sitten
Scott Lahteine
7b2fadd598
Apply some fixes from Andreas
Derived from
https://github.com/AnHardt/Marlin/commit/ 6e8ede8c69
7f8d8e0dd
8 vuotta sitten
Scott Lahteine
dcb8ec32ee
Fix compile error with watch_bed_next_ms
8 vuotta sitten
Scott Lahteine
ee5be92206
Fix broken DISABLE_HEATER macro
8 vuotta sitten
Scott Lahteine
72c6f2923f
axis_steps_per_unit => axis_steps_per_mm
8 vuotta sitten
Scott Lahteine
3c68be79dc
Throw an error in PID_autotune for E < -1
8 vuotta sitten
Scott Lahteine
cd441ce652
SINGLENOZZLE: EXTRUDERS versus HOTENDS
8 vuotta sitten
Scott Lahteine
78fb02a5ad
Apply static to Temperature class
8 vuotta sitten
Scott Lahteine
fad7680605
Slower SPI speed for MAX31855
8 vuotta sitten
Scott Lahteine
0c7c45063b
PID_ADD_EXTRUSION_RATE based on MarlinKimbra
8 vuotta sitten
Scott Lahteine
8218558953
Update comments, rename next_ping_ms, followup to #3797
8 vuotta sitten
Scott Lahteine
2f14934c65
Fix checkExtruderAutoFans
Make sure to only set the fan state once when extruders share a fan
8 vuotta sitten
João Brázio
ecd490ed49
Bugfix: iteration invokes undefined behavior
8 vuotta sitten
Scott Lahteine
4d6bb52b26
Don't try to enable unused auto fans
Addressing #3743
8 vuotta sitten
Scott Lahteine
9b92bb8f31
Set the initial state based on target temperature
8 vuotta sitten
Scott Lahteine
6b13c430ae
The TRReset state is not needed with fall-through
8 vuotta sitten
Scott Lahteine
c2522ce1f5
Fallthru in thermal runaway test when TRState changes
8 vuotta sitten
esenapaj
9186be7b83
Fix compilation error in debugging code
Fix compilation error in Thermal Runaway debugging code
8 vuotta sitten
Scott Lahteine
084f6b5b44
Temperature singleton class
8 vuotta sitten
Scott Lahteine
85e732d5fd
Fix BABYSTEPPING, add it to Travis test
8 vuotta sitten
gralco
908229dbb3
Introduce temp watch protection for the bed
When setting the bed temp via M140/M190 if the thermistor does not read an increase of WATCH_BED_TEMP_INCREASE degrees by WATCH_BED_TEMP_PERIOD seconds then it will throw "Error:Heating failed, system stopped! Heater_ID: bed" and call the kill() function.
Conflicts:
Marlin/Configuration_adv.h
8 vuotta sitten
Scott Lahteine
96f51f400f
Planner singleton class
8 vuotta sitten
Scott Lahteine
5e4e535ce8
Stepper and Endstops as singleton objects
8 vuotta sitten
Scott Lahteine
8a2587f017
Read size for MAX6675 from sizeof(max6675_temp)
8 vuotta sitten
Scott Lahteine
ba84d8d091
Allow setting PIDTEMP and PIDTEMPBED together or apart
8 vuotta sitten
Scott Lahteine
a26d70e932
Apply indentation to gcode_M303, PID_autotune
8 vuotta sitten
Scott Lahteine
ba66336503
Output error for disabled M303
8 vuotta sitten
Scott Lahteine
d4a848c72a
Fix broken PID_PARAMS_PER_EXTRUDER
As noted by @FalloutBe in #3519
8 vuotta sitten
esenapaj
832e1c1f2a
Follow-up and fix for the PR #3453 (ELAPSED / PENDING for rollover-safe time checking)
・Add more "UL" suffix
・Restore removed "UL" suffix
8 vuotta sitten
Scott Lahteine
c5a8755cc0
Fix a messed up ELAPSED instance
8 vuotta sitten
Scott Lahteine
386140f361
Test time difference in safe way
8 vuotta sitten
Scott Lahteine
865dcf3fb4
Fix FILAMENT_WIDTH_SENSOR measurement
Only measure and store filament width when E is going forward.
8 vuotta sitten
João Brázio
eb61051556
Rework the print job timer to use the stopwatch class
8 vuotta sitten
Scott Lahteine
d24f14a799
Add HAS_TEMP_HOTEND define
8 vuotta sitten
Scott Lahteine
1a79b13b7a
FILAMENT_SENSOR -> FILAMENT_WIDTH_SENSOR
8 vuotta sitten
Scott Lahteine
ab412a2153
PIDTEMPBED on #endif
8 vuotta sitten
Scott Lahteine
5955a3063f
Sanity check PIDTEMPBED plus BED_LIMIT_SWITCHING
8 vuotta sitten
Scott Lahteine
0da744b7b0
Further cleanup of comments, partial Doxygen-style
Following up on #3231
8 vuotta sitten
jbrazio
5e5d250832
Added gplv3 header to all Marlin files
8 vuotta sitten
Scott Lahteine
04fa9d4f47
Make Autotune options into Menu Edit Items
8 vuotta sitten
WPBack
e3f583a3be
Fixes for PID AutoTune from menu
Fixes for #3189
Setting a temp is still missing
8 vuotta sitten