🧑‍💻 EXTRUDER_LOOP macro

This commit is contained in:
Scott Lahteine authored and Scott Lahteine committed 2022-05-07 16:01:13 -05:00
1 parent b094a3fc0d
commit 4a8b99d505
15 files changed
+62 -61

No files matched your search

+1
View File
@@ -749,6 +749,7 @@
#endif
// Helper macros for extruder and hotend arrays
#define EXTRUDER_LOOP() for (int8_t e = 0; e < EXTRUDERS; e++)
#define HOTEND_LOOP() for (int8_t e = 0; e < HOTENDS; e++)
#define ARRAY_BY_EXTRUDERS(V...) ARRAY_N(EXTRUDERS, V)
#define ARRAY_BY_EXTRUDERS1(v1) ARRAY_N_1(EXTRUDERS, v1)