Skip to content
Snippets Groups Projects
Unverified Commit c5632bb9 authored by Scott Lahteine's avatar Scott Lahteine Committed by GitHub
Browse files

Merge pull request #8792 from fiveangle/bf2-HAS_HEAT_BED_conditional

[2.0.x] Missing HAS_HEAT_BED conditional
parents 368c124d 0d531d96
Branches
Tags
No related merge requests found
...@@ -965,7 +965,9 @@ void Temperature::updateTemperaturesFromRawValues() { ...@@ -965,7 +965,9 @@ void Temperature::updateTemperaturesFromRawValues() {
#endif #endif
HOTEND_LOOP() HOTEND_LOOP()
current_temperature[e] = Temperature::analog2temp(current_temperature_raw[e], e); current_temperature[e] = Temperature::analog2temp(current_temperature_raw[e], e);
#if HAS_TEMP_BED
current_temperature_bed = Temperature::analog2tempBed(current_temperature_bed_raw); current_temperature_bed = Temperature::analog2tempBed(current_temperature_bed_raw);
#endif
#if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT) #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
redundant_temperature = Temperature::analog2temp(redundant_temperature_raw, 1); redundant_temperature = Temperature::analog2temp(redundant_temperature_raw, 1);
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment