Browse Source

Split DEFAULT_MACHINE_NAME from DEFAULT_SOURCE_URL

Addressing #3325 – Avoid undefined symbol errors in the compiler.
Scott Lahteine 8 years ago
parent
commit
4f24323817
1 changed files with 11 additions and 4 deletions
  1. 11
    4
      Marlin/language.h

+ 11
- 4
Marlin/language.h View File

73
 
73
 
74
 #if MB(ULTIMAKER)|| MB(ULTIMAKER_OLD)|| MB(ULTIMAIN_2)
74
 #if MB(ULTIMAKER)|| MB(ULTIMAKER_OLD)|| MB(ULTIMAIN_2)
75
   #define DEFAULT_MACHINE_NAME "Ultimaker"
75
   #define DEFAULT_MACHINE_NAME "Ultimaker"
76
-  #define DEFAULT_SOURCE_URL "https://github.com/Ultimaker/Marlin"
77
 #elif MB(RUMBA)
76
 #elif MB(RUMBA)
78
   #define DEFAULT_MACHINE_NAME "Rumba"
77
   #define DEFAULT_MACHINE_NAME "Rumba"
79
 #elif MB(3DRAG)
78
 #elif MB(3DRAG)
80
   #define DEFAULT_MACHINE_NAME "3Drag"
79
   #define DEFAULT_MACHINE_NAME "3Drag"
81
-  #define DEFAULT_SOURCE_URL "http://3dprint.elettronicain.it/"
82
 #elif MB(K8200)
80
 #elif MB(K8200)
83
   #define DEFAULT_MACHINE_NAME "K8200"
81
   #define DEFAULT_MACHINE_NAME "K8200"
84
-  #define DEFAULT_SOURCE_URL "https://github.com/CONSULitAS/Marlin-K8200"
85
 #elif MB(5DPRINT)
82
 #elif MB(5DPRINT)
86
   #define DEFAULT_MACHINE_NAME "Makibox"
83
   #define DEFAULT_MACHINE_NAME "Makibox"
87
 #elif MB(SAV_MKI)
84
 #elif MB(SAV_MKI)
88
   #define DEFAULT_MACHINE_NAME "SAV MkI"
85
   #define DEFAULT_MACHINE_NAME "SAV MkI"
89
-  #define DEFAULT_SOURCE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config"
90
 #else
86
 #else
91
   #define DEFAULT_MACHINE_NAME "3D Printer"
87
   #define DEFAULT_MACHINE_NAME "3D Printer"
88
+#endif
89
+
90
+#if MB(ULTIMAKER)|| MB(ULTIMAKER_OLD)|| MB(ULTIMAIN_2)
91
+  #define DEFAULT_SOURCE_URL "https://github.com/Ultimaker/Marlin"
92
+#elif MB(3DRAG)
93
+  #define DEFAULT_SOURCE_URL "http://3dprint.elettronicain.it/"
94
+#elif MB(K8200)
95
+  #define DEFAULT_SOURCE_URL "https://github.com/CONSULitAS/Marlin-K8200"
96
+#elif MB(SAV_MKI)
97
+  #define DEFAULT_SOURCE_URL "https://github.com/fmalpartida/Marlin/tree/SAV-MkI-config"
98
+#else
92
   #define DEFAULT_SOURCE_URL "https://github.com/MarlinFirmware/Marlin"
99
   #define DEFAULT_SOURCE_URL "https://github.com/MarlinFirmware/Marlin"
93
 #endif
100
 #endif
94
 
101
 

Loading…
Cancel
Save