Fix unused static declaration warnings

Guard declarations using the appropriate defines
This commit is contained in:
Yuri D'Elia 2021-02-03 19:16:41 +01:00 committed by DRracer
parent 7bd43b77d7
commit f2fe57bfc0
3 changed files with 11 additions and 1 deletions

View file

@ -197,7 +197,9 @@ static uint8_t heater_ttbllen_map[EXTRUDERS] = ARRAY_BY_EXTRUDERS( HEATER_0_TEMP
static float analog2temp(int raw, uint8_t e);
static float analog2tempBed(int raw);
#ifdef AMBIENT_MAXTEMP
static float analog2tempAmbient(int raw);
#endif
static void updateTemperaturesFromRawValues();
enum TempRunawayStates