Quellcode durchsuchen

🔨 Preflight check old abl files (#24010)

ellensp vor 2 Jahren
Ursprung
Commit
febf7e54fe
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4
    0
      buildroot/share/PlatformIO/scripts/preflight-checks.py

+ 4
- 0
buildroot/share/PlatformIO/scripts/preflight-checks.py Datei anzeigen

@@ -102,6 +102,10 @@ if pioutil.is_pio_build():
102 102
 		for f in [ "ultralcd_DOGM.cpp", "ultralcd_DOGM.h" ]:
103 103
 			if os.path.isfile(os.path.join(p, f)):
104 104
 				mixedin += [ f ]
105
+		p = os.path.join(env['PROJECT_DIR'], "Marlin", "src", "feature", "bedlevel", "abl")
106
+		for f in [ "abl.cpp", "abl.h" ]:
107
+			if os.path.isfile(os.path.join(p, f)):
108
+				mixedin += [ f ]
105 109
 		if mixedin:
106 110
 			err = "ERROR: Old files fell into your Marlin folder. Remove %s and try again" % ", ".join(mixedin)
107 111
 			raise SystemExit(err)

Laden…
Abbrechen
Speichern