Skip to content

Commit d93c41a

Browse files
committed
🔨 Misc. schema updates
1 parent 98e6aac commit d93c41a

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

Marlin/Configuration.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@
141141
// Choose your own or use a service like https://www.uuidgenerator.net/version4
142142
//#define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
143143

144+
// @section stepper drivers
145+
144146
/**
145147
* Stepper Drivers
146148
*
@@ -240,6 +242,8 @@
240242
//#define SINGLENOZZLE_STANDBY_FAN
241243
#endif
242244

245+
// @section multi-material
246+
243247
/**
244248
* Multi-Material Unit
245249
* Set to one of these predefined models:
@@ -252,6 +256,7 @@
252256
*
253257
* Requires NOZZLE_PARK_FEATURE to park print head in case MMU unit fails.
254258
* See additional options in Configuration_adv.h.
259+
* :["PRUSA_MMU1", "PRUSA_MMU2", "PRUSA_MMU2S", "EXTENDABLE_EMU_MMU2", "EXTENDABLE_EMU_MMU2S"]
255260
*/
256261
//#define MMU_MODEL PRUSA_MMU2
257262

@@ -1629,7 +1634,7 @@
16291634
#define DISABLE_E false // Disable the extruder when not stepping
16301635
#define DISABLE_INACTIVE_EXTRUDER // Keep only the active extruder enabled
16311636

1632-
// @section machine
1637+
// @section motion
16331638

16341639
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
16351640
#define INVERT_X_DIR false

buildroot/share/PlatformIO/scripts/schema.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,21 +213,21 @@ def use_comment(c, opt, sec, bufref):
213213
elif cpos2 != -1 and (cpos2 < cpos1 or cpos1 == -1):
214214
cpos = cpos2
215215

216-
# Expire end-of-line options after first use
217-
if cline.startswith(':'): eol_options = True
218-
219216
# 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:
221218
state = Parse.EOL_COMMENT
222219
comment_buff = []
223220

224221
# Process the start of a new comment
225222
if cpos != -1:
226223
cline, line = line[cpos+2:].strip(), line[:cpos].strip()
227224

228-
# Strip leading '*' from block comments
229225
if state == Parse.BLOCK_COMMENT:
226+
# Strip leading '*' from block comments
230227
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
231231

232232
# Buffer a non-empty comment start
233233
if cline != '':

0 commit comments

Comments
 (0)