Module updates

This commit is contained in:
Scott Lahteine
2017-09-06 06:28:32 -05:00
parent 0fcec02db5
commit 3d8a0ab4b2
20 changed files with 223 additions and 117 deletions

View File

@ -27,9 +27,13 @@
#ifndef TEMPERATURE_H
#define TEMPERATURE_H
#include "thermistortables.h"
#include "thermistor/thermistors.h"
#include "MarlinConfig.h"
#include "../inc/MarlinConfig.h"
#if ENABLED(BABYSTEPPING)
extern bool axis_known_position[XYZ];
#endif
#if ENABLED(PID_EXTRUSION_SCALING)
#include "stepper.h"
@ -39,16 +43,6 @@
#define SOFT_PWM_SCALE 0
#endif
#define HOTEND_LOOP() for (int8_t e = 0; e < HOTENDS; e++)
#if HOTENDS == 1
#define HOTEND_INDEX 0
#define EXTRUDER_IDX 0
#else
#define HOTEND_INDEX e
#define EXTRUDER_IDX active_extruder
#endif
/**
* States for ADC reading in the ISR
*/
@ -533,6 +527,10 @@ class Temperature {
private:
#if ENABLED(FAST_PWM_FAN)
static void setPwmFrequency(const uint8_t pin, int val);
#endif
static void set_current_temp_raw();
static void updateTemperaturesFromRawValues();