Skip to content

Commit

Permalink
define TOOLS
Browse files Browse the repository at this point in the history
  • Loading branch information
DerAndere1 committed Jan 25, 2025
1 parent 4467fdc commit 0cb2516
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Marlin/src/inc/Conditionals-1-axes.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,22 @@
#ifndef HOTEND_OFFSET_Z
#define HOTEND_OFFSET_Z { 0 } // Z offsets for each extruder
#endif
#endif


/**
* The number of selectable tools.
* This includes extruders/hotends, laser and spindle tools.
*/
#ifndef TOOLS
#if (HOTENDS >= EXTRUDERS)
#define TOOLS HOTENDS
#else
#define TOOLS EXTRUDERS
#endif
#endif
#if TOOLS > 1
#define HAS_MULTI_TOOLS 1
#else
#undef HOTEND_OFFSET_X
#undef HOTEND_OFFSET_Y
Expand Down

0 comments on commit 0cb2516

Please sign in to comment.