No change in FLASH usage.
@@ -2196,4 +2196,15 @@ float unscalePID_d(float d)
#endif //PIDTEMP
+#ifdef PINDA_THERMISTOR
+bool has_temperature_compensation()
+{
+#ifdef DETECT_SUPERPINDA
+ return (current_temperature_pinda >= PINDA_MINTEMP) ? true : false;
+#else
+ return true;
+#endif
+}
+#endif //PINDA_THERMISTOR
+
@@ -63,6 +63,7 @@ extern float current_temperature_bed;
#ifdef PINDA_THERMISTOR
extern uint16_t current_temperature_raw_pinda;
extern float current_temperature_pinda;
+bool has_temperature_compensation();
#endif
#ifdef AMBIENT_THERMISTOR
@@ -334,15 +334,6 @@ bool bSettings; // flag (i.e. 'fake parameter'
const char STR_SEPARATOR[] PROGMEM = "------------";
-static bool has_temperature_compensation()
-{
-#ifdef DETECT_SUPERPINDA
- return (current_temperature_pinda >= PINDA_MINTEMP) ? true : false;
-#else
- return true;
-#endif
-}
-
static void lcd_implementation_drawmenu_sdfile_selected(uint8_t row, const char* filename, char* longFilename)
{