Scott Lahteine 2 лет назад
Родитель
Сommit
e701e0bb25
2 измененных файлов: 11 добавлений и 6 удалений
  1. 6
    1
      Marlin/Configuration.h
  2. 5
    5
      buildroot/share/PlatformIO/scripts/schema.py

+ 6
- 1
Marlin/Configuration.h Просмотреть файл

@@ -141,6 +141,8 @@
141 141
 // Choose your own or use a service like https://www.uuidgenerator.net/version4
142 142
 //#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143 143
 
144
+// @section stepper drivers
145
+
144 146
 /**
145 147
  * Stepper Drivers
146 148
  *
@@ -240,6 +242,8 @@
240 242
   //#define SINGLENOZZLE_STANDBY_FAN
241 243
 #endif
242 244
 
245
+// @section multi-material
246
+
243 247
 /**
244 248
  * Multi-Material Unit
245 249
  * Set to one of these predefined models:
@@ -252,6 +256,7 @@
252 256
  *
253 257
  * Requires NOZZLE_PARK_FEATURE to park print head in case MMU unit fails.
254 258
  * See additional options in Configuration_adv.h.
259
+ * :["PRUSA_MMU1", "PRUSA_MMU2", "PRUSA_MMU2S", "EXTENDABLE_EMU_MMU2", "EXTENDABLE_EMU_MMU2S"]
255 260
  */
256 261
 //#define MMU_MODEL PRUSA_MMU2
257 262
 
@@ -1629,7 +1634,7 @@
1629 1634
 #define DISABLE_E false             // Disable the extruder when not stepping
1630 1635
 #define DISABLE_INACTIVE_EXTRUDER   // Keep only the active extruder enabled
1631 1636
 
1632
-// @section machine
1637
+// @section motion
1633 1638
 
1634 1639
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
1635 1640
 #define INVERT_X_DIR false

+ 5
- 5
buildroot/share/PlatformIO/scripts/schema.py Просмотреть файл

@@ -213,11 +213,8 @@ def extract():
213 213
 					elif cpos2 != -1 and (cpos2 < cpos1 or cpos1 == -1):
214 214
 						cpos = cpos2
215 215
 
216
-						# Expire end-of-line options after first use
217
-						if cline.startswith(':'): eol_options = True
218
-
219 216
 						# Comment after a define may be continued on the following lines
220
-						if state == Parse.NORMAL and defmatch != None and cpos > 10:
217
+						if defmatch != None and cpos > 10:
221 218
 							state = Parse.EOL_COMMENT
222 219
 							comment_buff = []
223 220
 
@@ -225,9 +222,12 @@ def extract():
225 222
 					if cpos != -1:
226 223
 						cline, line = line[cpos+2:].strip(), line[:cpos].strip()
227 224
 
228
-						# Strip leading '*' from block comments
229 225
 						if state == Parse.BLOCK_COMMENT:
226
+							# Strip leading '*' from block comments
230 227
 							if cline.startswith('*'): cline = cline[1:].strip()
228
+						else:
229
+							# Expire end-of-line options after first use
230
+							if cline.startswith(':'): eol_options = True
231 231
 
232 232
 						# Buffer a non-empty comment start
233 233
 						if cline != '':

Загрузка…
Отмена
Сохранить