Limit preheat parameters based on all nozzles

This commit is contained in:
Scott Lahteine
2016-11-28 00:51:52 -06:00
parent bb4529f7d2
commit c9193e856d
2 changed files with 17 additions and 2 deletions

View File

@ -126,8 +126,10 @@
#define CEILING(x,y) (((x) + (y) - 1) / (y))
#define MIN3(a, b, c) min(min(a, b), c)
#define MIN4(a, b, c, d) min(min(a, b), min(c, d))
#define MAX3(a, b, c) max(max(a, b), c)
#define MAX4(a, b, c, d) max(max(max(a, b), c), d)
#define MAX4(a, b, c, d) max(max(a, b), max(c, d))
#define UNEAR_ZERO(x) ((x) < 0.000001)
#define NEAR_ZERO(x) ((x) > -0.000001 && (x) < 0.000001)