Reduce code with no heated bed

This commit is contained in:
Scott Lahteine 2017-12-13 17:56:25 -06:00
parent 172ea8c71c
commit f36f91dfb5
2 changed files with 52 additions and 45 deletions

View file

@ -293,8 +293,11 @@ class Temperature {
/**
* Static (class) methods
*/
static float analog2temp(int raw, uint8_t e);
static float analog2tempBed(int raw);
static float analog2temp(const int raw, const uint8_t e);
#if HAS_TEMP_BED
static float analog2tempBed(const int raw);
#endif
/**
* Called from the Temperature ISR