PID / manage_heater

build-warnings elimination
This commit is contained in:
MRprusa3d 2019-01-20 01:23:15 +01:00
parent d9f8e4eb9e
commit d7ac459da7
3 changed files with 6 additions and 2 deletions

View File

@ -139,14 +139,14 @@ FORCE_INLINE float degTargetBed() {
FORCE_INLINE void setTargetHotend(const float &celsius, uint8_t extruder) { FORCE_INLINE void setTargetHotend(const float &celsius, uint8_t extruder) {
target_temperature[extruder] = celsius; target_temperature[extruder] = celsius;
resetPID[extruder]; resetPID(extruder);
}; };
static inline void setTargetHotendSafe(const float &celsius, uint8_t extruder) static inline void setTargetHotendSafe(const float &celsius, uint8_t extruder)
{ {
if (extruder<EXTRUDERS) { if (extruder<EXTRUDERS) {
target_temperature[extruder] = celsius; target_temperature[extruder] = celsius;
resetPID[extruder]; resetPID(extruder);
} }
} }

View File

@ -105,7 +105,9 @@ EXTRUDER SETTINGS
#define HEATER_0_MINTEMP 15 #define HEATER_0_MINTEMP 15
#define HEATER_1_MINTEMP 5 #define HEATER_1_MINTEMP 5
#define HEATER_2_MINTEMP 5 #define HEATER_2_MINTEMP 5
#define HEATER_MINTEMP_DELAY 15000 // [ms] ! if changed, check maximal allowed value @ ShortTimer
#define BED_MINTEMP 15 #define BED_MINTEMP 15
#define BED_MINTEMP_DELAY 50000 // [ms] ! if changed, check maximal allowed value @ ShortTimer
// Maxtemps // Maxtemps
#if defined(E3D_PT100_EXTRUDER_WITH_AMP) || defined(E3D_PT100_EXTRUDER_NO_AMP) #if defined(E3D_PT100_EXTRUDER_WITH_AMP) || defined(E3D_PT100_EXTRUDER_NO_AMP)

View File

@ -105,7 +105,9 @@ EXTRUDER SETTINGS
#define HEATER_0_MINTEMP 15 #define HEATER_0_MINTEMP 15
#define HEATER_1_MINTEMP 5 #define HEATER_1_MINTEMP 5
#define HEATER_2_MINTEMP 5 #define HEATER_2_MINTEMP 5
#define HEATER_MINTEMP_DELAY 15000 // [ms] ! if changed, check maximal allowed value @ ShortTimer
#define BED_MINTEMP 15 #define BED_MINTEMP 15
#define BED_MINTEMP_DELAY 50000 // [ms] ! if changed, check maximal allowed value @ ShortTimer
// Maxtemps // Maxtemps
#if defined(E3D_PT100_EXTRUDER_WITH_AMP) || defined(E3D_PT100_EXTRUDER_NO_AMP) #if defined(E3D_PT100_EXTRUDER_WITH_AMP) || defined(E3D_PT100_EXTRUDER_NO_AMP)