Browse Source

Melzi, comments cleanup

Scott Lahteine 3 years ago
parent
commit
52c246ae19

+ 0
- 2
Marlin/src/core/boards.h View File

@@ -415,5 +415,3 @@
415 415
 
416 416
 #define _MB_1(B)  (defined(BOARD_##B) && MOTHERBOARD==BOARD_##B)
417 417
 #define MB(V...)  DO(MB,||,V)
418
-
419
-#define IS_MELZI MB(MELZI, MELZI_CREALITY, MELZI_MAKR3D, MELZI_MALYAN, MELZI_TRONXY, MELZI_V2)

+ 1
- 1
Marlin/src/inc/SanityCheck.h View File

@@ -1907,7 +1907,7 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
1907 1907
 #if !HAS_HEATER_0 && EXTRUDERS
1908 1908
   #error "HEATER_0_PIN not defined for this board."
1909 1909
 #elif !ANY_PIN(TEMP_0, MAX6675_SS)
1910
-  #error "TEMP_0_PIN not defined for this board."
1910
+  #error "TEMP_0_PIN or MAX6675_SS not defined for this board."
1911 1911
 #elif ((defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284P__)) && !PINS_EXIST(E0_STEP, E0_DIR))
1912 1912
   #error "E0_STEP_PIN or E0_DIR_PIN not defined for this board."
1913 1913
 #elif ( !(defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284P__)) && (!PINS_EXIST(E0_STEP, E0_DIR) || !HAS_E0_ENABLE))

+ 1
- 1
Marlin/src/pins/lpc1768/pins_BTT_SKR_common.h View File

@@ -29,7 +29,7 @@
29 29
   #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
30 30
 #endif
31 31
 
32
-// If you have the Big tree tech driver expantion module, enable HAS_BTT_EXP_MOT
32
+// If you have the Big tree tech driver expansion module, enable HAS_BTT_EXP_MOT
33 33
 // https://github.com/bigtreetech/BTT-Expansion-module/tree/master/BTT%20EXP-MOT
34 34
 //#define HAS_BTT_EXP_MOT 1
35 35
 

+ 2
- 0
Marlin/src/pins/sanguino/pins_MELZI.h View File

@@ -29,4 +29,6 @@
29 29
   #define BOARD_INFO_NAME "Melzi"
30 30
 #endif
31 31
 
32
+#define IS_MELZI 1
33
+
32 34
 #include "pins_SANGUINOLOLU_12.h"

Loading…
Cancel
Save