Browse Source

🔧 Skip unused axis names

Scott Lahteine 3 years ago
parent
commit
80e978ec8a
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/src/inc/Conditionals_post.h

+ 3
- 3
Marlin/src/inc/Conditionals_post.h View File

78
 /**
78
 /**
79
  * Axis lengths and center
79
  * Axis lengths and center
80
  */
80
  */
81
-#ifndef AXIS4_NAME
81
+#if HAS_I_AXIS && !defined(AXIS4_NAME)
82
   #define AXIS4_NAME 'A'
82
   #define AXIS4_NAME 'A'
83
 #endif
83
 #endif
84
-#ifndef AXIS5_NAME
84
+#if HAS_J_AXIS && !defined(AXIS5_NAME)
85
   #define AXIS5_NAME 'B'
85
   #define AXIS5_NAME 'B'
86
 #endif
86
 #endif
87
-#ifndef AXIS6_NAME
87
+#if HAS_K_AXIS && !defined(AXIS6_NAME)
88
   #define AXIS6_NAME 'C'
88
   #define AXIS6_NAME 'C'
89
 #endif
89
 #endif
90
 
90
 

Loading…
Cancel
Save