Commit Graph

119 Commits (e1e043d0d0f50552fdce81f0dbc3db1ee72e6872)

Author SHA1 Message Date
Scott Lahteine 71396f77d3 Cleanups following recent commits
Scott Lahteine a1e04942a2 Cleanup to software PWM variables
Brian faa270071d Improve BLTOUCH_HEATERS_OFF functionality
- rename to PROBING_HEATERS_OFF
 - move heater pausing functionality into thermalManager
   - add variables, pause(), ispaused(), other functions
 - add fan pausing functionality -> PROBING_FANS_OFF
 - add probing_pause() wrapper
 - move pausing into do_homing_move() and do_probe_move() to minimize quiet time and so other probe types can benefit
 - example configs
bgort ae7c602031 fix error in M105 output -- use SERIAL_PROTOCOL for ints instead of SERIAL_PROTOCOL_F ()
also removed wayward 'address of' ampersand in setTargetHotend and setTargetBed parameters
Scott Lahteine 6854f08d22 Shut down autotemp in disable_all_heaters
Scott Lahteine 2658cc707a Treat temperature as integer, when possible
Thomas Moore 72a7fac461 Only queue babysteps if axis is in a known position
Scott Lahteine 7f950a80c0 Make ADC sensor reading frequency adjustable
Scott Lahteine 832064e4f2 Implementation changes to support 5 extruders
Scott Lahteine 699310d1d2 Fix: Thermal runaway if nonexistent bed's temp is set
Scott Lahteine 6618346148 Patches to work around "register spill" compiler bug
Sebastianv650 271ced7341 Prevent re-entering of temperature ISR
If Marlin is inside the temperature ISR, the stepper ISR is enabled. If
a stepper event is now happening Marlin will proceed with the stepper
ISR. Now, at the end of the stepper ISR, the temperatre ISR gets enabled
again. While Marlin proceed the rest of the temperature ISR, it's now
vulnerable to a second ISR call.
Scott Lahteine e44294bb4d Make HOTEND_LOOP more consistent, let compiler optimize it
Scott Lahteine 1864b282c5 Implement reversed CORE options
Scott Lahteine 00662b8635 Minor babystep cleanup patches
Scott Lahteine d963020532 Sort out some header dependencies
Scott Lahteine 1e551c0688 Revert "Squashed - Removal of PID functional range"
Rerouter 02fe9cf558 Removal of functional range constraint
Also lined up the >> 1 and / 2 mentioned earlier in the unconstrained I term issue,
Rerouter a765c98850 Removal of the constraints of the Iterm
Scott Lahteine 076f3a8284 unsigned char => uint8_t
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.
Scott Lahteine 3e8f9ecd1c Extend min/max_temp_error for the bed
Scott Lahteine b73203a0b7 Move some includes around to uncover missing deps
Scott Lahteine 63fd1f49a6 PID_EXTRUSION_SCALING, disabled by default
Scott Lahteine b40661cb18 Fix output of heater states
Scott Lahteine 2d378fac1b No need to include thermistortables.h in Configuration.h
Scott Lahteine cdd77d23bb Neaten up temperature member data
Scott Lahteine d4c68279c8 Add "P" parameter to M302
Scott Lahteine 809da999dc Apply HOTEND_INDEX in preheat methods
Scott Lahteine 3d78b690e5 Single PID dataset with HOTENDS == 1
Scott Lahteine bf9967c65d Apply HOTEND_INDEX in MILLISECONDS_PREHEAT_TIME
Scott Lahteine 11dcbae7a2 Only a single E axis. Can tool-change reseed position[E_AXIS]?
Scott Lahteine 182c8d7f8f Dyze High Temp Thermistor Support
Scott Lahteine ee0983ab57 Further reduction when HOTENDS == 1
Scott Lahteine b72238f406 Invariant get_pid_output with HOTENDS < 2
Scott Lahteine dcb8ec32ee Fix compile error with watch_bed_next_ms
Scott Lahteine cd441ce652 SINGLENOZZLE: EXTRUDERS versus HOTENDS
Scott Lahteine 85512e9372 Drop FORCE_INLINE from temperature.h
`FORCE_INLINE` seems to have no effect on code generation with standard
optimization.
Scott Lahteine 78fb02a5ad Apply static to Temperature class
Scott Lahteine 0e55c06f7d Rename CORE_AXIS_3 to NORMAL_AXIS
Scott Lahteine 5172d4ba40 COREYZ stepper, planner, endstop, babysteps
Scott Lahteine 6b13c430ae The TRReset state is not needed with fall-through
Scott Lahteine b65ea98d6b Localize babystepping in the Temperature class
So that `ultralcd.cpp` doesn’t need to worry about the details.
esenapaj 1a97442d19 Follow-up the PR #3643(Temperature singleton)
Follow-up the PR #3643(Temperature singleton)

・Change from fanSpeedSoftPwm[0] to thermalManager.fanSpeedSoftPwm[0] in planner.cpp
It fix compilation error when FAN_SOFT_PWM is enabled.

・Remove declaration of setExtruderAutoFanState() in temperature.h
Because that function was abolished.

・Change from babystepsTodo to thermalManager.babystepsTodo in ultralcd.cpp
It fix compilation errors when BABYSTEPPING is enabled.
Scott Lahteine 084f6b5b44 Temperature singleton class
Scott Lahteine 60c6efb75c Merge pull request from thinkyhead/rc_bed_temp_watch_merge
Introduce temp watch protection for the bed
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
Scott Lahteine 96f51f400f Planner singleton class
Scott Lahteine ba66336503 Output error for disabled M303
Scott Lahteine d4a848c72a Fix broken PID_PARAMS_PER_EXTRUDER
As noted by @FalloutBe in