Kaynağa Gözat

🔨 Preflight check old abl files (#24010)

ellensp 2 yıl önce
ebeveyn
işleme
febf7e54fe
No account linked to committer's email address

+ 4
- 0
buildroot/share/PlatformIO/scripts/preflight-checks.py Dosyayı Görüntüle

102
 		for f in [ "ultralcd_DOGM.cpp", "ultralcd_DOGM.h" ]:
102
 		for f in [ "ultralcd_DOGM.cpp", "ultralcd_DOGM.h" ]:
103
 			if os.path.isfile(os.path.join(p, f)):
103
 			if os.path.isfile(os.path.join(p, f)):
104
 				mixedin += [ f ]
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
 		if mixedin:
109
 		if mixedin:
106
 			err = "ERROR: Old files fell into your Marlin folder. Remove %s and try again" % ", ".join(mixedin)
110
 			err = "ERROR: Old files fell into your Marlin folder. Remove %s and try again" % ", ".join(mixedin)
107
 			raise SystemExit(err)
111
 			raise SystemExit(err)

Loading…
İptal
Kaydet