Ver código fonte

Sanity-check NOZZLE_PARK_POINT

Scott Lahteine 6 anos atrás
pai
commit
b213a89ef5
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5
    0
      Marlin/src/inc/SanityCheck.h

+ 5
- 0
Marlin/src/inc/SanityCheck.h Ver arquivo

558
   #endif
558
   #endif
559
 #endif
559
 #endif
560
 
560
 
561
+#if ENABLED(NOZZLE_PARK_FEATURE)
562
+  constexpr float npp[] = NOZZLE_PARK_POINT;
563
+  static_assert(COUNT(npp) == XYZ, "NOZZLE_PARK_POINT requires X, Y, and Z values.");
564
+#endif
565
+
561
 /**
566
 /**
562
  * Individual axis homing is useless for DELTAS
567
  * Individual axis homing is useless for DELTAS
563
  */
568
  */

Carregando…
Cancelar
Salvar