Fix and improve EEPROM storage (#12054)
* Clean up Temperature PID * Improve EEPROM read/write/validate * Group `SINGLENOZZLE` saved settings * Group planner saved settings * Group filament change saved settings * Group skew saved settings * Group `FWRETRACT` saved settings
This commit is contained in:
@@ -19,11 +19,9 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#ifndef TOOL_CHANGE_H
|
||||
#define TOOL_CHANGE_H
|
||||
|
||||
#include "../inc/MarlinConfig.h"
|
||||
#include "../inc/MarlinConfigPre.h"
|
||||
|
||||
#if DO_SWITCH_EXTRUDER
|
||||
void move_extruder_servo(const uint8_t e);
|
||||
@@ -51,9 +49,11 @@
|
||||
#endif // PARKING_EXTRUDER
|
||||
|
||||
#if ENABLED(SINGLENOZZLE)
|
||||
extern float singlenozzle_swap_length;
|
||||
extern int16_t singlenozzle_prime_speed,
|
||||
singlenozzle_retract_speed;
|
||||
typedef struct {
|
||||
float swap_length;
|
||||
int16_t prime_speed, retract_speed;
|
||||
} singlenozzle_settings_t;
|
||||
extern singlenozzle_settings_t sn_settings;
|
||||
extern uint16_t singlenozzle_temp[EXTRUDERS];
|
||||
#if FAN_COUNT > 0
|
||||
extern uint8_t singlenozzle_fan_speed[EXTRUDERS];
|
||||
@@ -65,5 +65,3 @@
|
||||
* previous tool out of the way and the new tool into place.
|
||||
*/
|
||||
void tool_change(const uint8_t tmp_extruder, const float fr_mm_s=0.0, bool no_move=false);
|
||||
|
||||
#endif // TOOL_CHANGE_H
|
||||
|
||||
Reference in New Issue
Block a user