PID loop improvements (#14746)

* Fix macro evaluation in `temperature.cpp`
* Improve bed PID, PID debug output
* Add min PID power define
This commit is contained in:
mikeshub
2019-07-28 15:50:25 -05:00
committed by Scott Lahteine
parent e8e81d3609
commit 1579091c20
119 changed files with 185 additions and 147 deletions

View File

@ -1153,10 +1153,17 @@
#define WRITE_HEATER_0(v) WRITE_HEATER_0P(v)
#endif
#ifndef MIN_POWER
#define MIN_POWER 0
#endif
/**
* Heated bed requires settings
*/
#if HAS_HEATED_BED
#ifndef MIN_BED_POWER
#define MIN_BED_POWER 0
#endif
#ifndef MAX_BED_POWER
#define MAX_BED_POWER 255
#endif