Fix MIN/MAX function collision with macros
This commit is contained in:
1 parent
b6546ea33a
commit
750a16ad38
63 files changed
+167
-167
No files matched your search
@@ -32,7 +32,7 @@
|
||||
#define _ALT_P active_extruder
|
||||
#define _CNT_P EXTRUDERS
|
||||
#else
|
||||
#define _ALT_P MIN(active_extruder, FAN_COUNT - 1)
|
||||
#define _ALT_P _MIN(active_extruder, FAN_COUNT - 1)
|
||||
#define _CNT_P FAN_COUNT
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user