Browse Source

Melzi, comments cleanup

Scott Lahteine 4 years ago
parent
commit
52c246ae19

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

415
 
415
 
416
 #define _MB_1(B)  (defined(BOARD_##B) && MOTHERBOARD==BOARD_##B)
416
 #define _MB_1(B)  (defined(BOARD_##B) && MOTHERBOARD==BOARD_##B)
417
 #define MB(V...)  DO(MB,||,V)
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
 #if !HAS_HEATER_0 && EXTRUDERS
1907
 #if !HAS_HEATER_0 && EXTRUDERS
1908
   #error "HEATER_0_PIN not defined for this board."
1908
   #error "HEATER_0_PIN not defined for this board."
1909
 #elif !ANY_PIN(TEMP_0, MAX6675_SS)
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
 #elif ((defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284P__)) && !PINS_EXIST(E0_STEP, E0_DIR))
1911
 #elif ((defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284P__)) && !PINS_EXIST(E0_STEP, E0_DIR))
1912
   #error "E0_STEP_PIN or E0_DIR_PIN not defined for this board."
1912
   #error "E0_STEP_PIN or E0_DIR_PIN not defined for this board."
1913
 #elif ( !(defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284P__)) && (!PINS_EXIST(E0_STEP, E0_DIR) || !HAS_E0_ENABLE))
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
   #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
29
   #error "Oops! Make sure you have the LPC1768 environment selected in your IDE."
30
 #endif
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
 // https://github.com/bigtreetech/BTT-Expansion-module/tree/master/BTT%20EXP-MOT
33
 // https://github.com/bigtreetech/BTT-Expansion-module/tree/master/BTT%20EXP-MOT
34
 //#define HAS_BTT_EXP_MOT 1
34
 //#define HAS_BTT_EXP_MOT 1
35
 
35
 

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

29
   #define BOARD_INFO_NAME "Melzi"
29
   #define BOARD_INFO_NAME "Melzi"
30
 #endif
30
 #endif
31
 
31
 
32
+#define IS_MELZI 1
33
+
32
 #include "pins_SANGUINOLOLU_12.h"
34
 #include "pins_SANGUINOLOLU_12.h"

Loading…
Cancel
Save