Browse Source

🔨 Preflight check old abl files (#24010)

ellensp 2 years ago
parent
commit
febf7e54fe
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      buildroot/share/PlatformIO/scripts/preflight-checks.py

+ 4
- 0
buildroot/share/PlatformIO/scripts/preflight-checks.py View File

@@ -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)

Loading…
Cancel
Save