Fysetc AIO II / Cheetah STM32F1 (#14407)

This commit is contained in:
Eric Ptak
2019-06-26 07:40:29 +02:00
committed by Scott Lahteine
parent 8e23e9b16c
commit 8934b32f1b
26 changed files with 14513 additions and 34 deletions

View File

@ -591,6 +591,7 @@
#endif
st.GSTAT(0b111); // Clear
delay(200);
}
#endif // TMC2209

View File

@ -351,7 +351,7 @@ temp_range_t Temperature::temp_range[HOTENDS] = ARRAY_BY_HOTENDS(sensor_heater_0
float max = 0, min = 10000;
const bool isbed = (heater < 0);
#if HAS_PID_FOR_BOTH
#define GHV(B,H) (isbed ? (B) : (H))
#define SHV(B,H) do{ if (isbed) temp_bed.soft_pwm_amount = B; else temp_hotend[heater].soft_pwm_amount = H; }while(0)