From 2a092bf03f00087589e983e8ae9ed6c7f9def0e1 Mon Sep 17 00:00:00 2001 From: Rob Giseburt Date: Wed, 1 Feb 2017 20:58:29 -0600 Subject: [PATCH] Minor adjustments to temperature controls (and a typo fix). --- g2core/temperature.cpp | 2 +- g2core/temperature.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/g2core/temperature.cpp b/g2core/temperature.cpp index 7d29ff10..ebb3fccc 100755 --- a/g2core/temperature.cpp +++ b/g2core/temperature.cpp @@ -82,7 +82,7 @@ // TEMP_MIN_RISE_TIME milliseconds, then it's a failure (the sensor is likely // physically dislocated.) #ifndef TEMP_MIN_RISE_DEGREES_OVER_TIME -#define TEMP_MIN_RISE_DEGREES_OVER_TIME (float)5.0 +#define TEMP_MIN_RISE_DEGREES_OVER_TIME (float)10.0 #endif #ifndef TEMP_MIN_RISE_TIME #define TEMP_MIN_RISE_TIME (float)(60.0 * 1000.0) // 20 seconds diff --git a/g2core/temperature.h b/g2core/temperature.h index efa47165..5c19579c 100755 --- a/g2core/temperature.h +++ b/g2core/temperature.h @@ -53,7 +53,7 @@ stat_t cm_get_pid_d(nvObj_t* nv); float cm_get_set_temperature(const uint8_t heater); stat_t cm_get_set_temperature(nvObj_t* nv); -void cm_set_set_temperature(const uint8_t heater, const float valoue); +void cm_set_set_temperature(const uint8_t heater, const float value); stat_t cm_set_set_temperature(nvObj_t* nv); float cm_get_fan_power(const uint8_t heater);