Prevent scans from filling the SD card
This commit is contained in:
parent
8fb70bf43a
commit
00a4b38a83
1 changed files with 1 additions and 0 deletions
|
|
@ -428,6 +428,7 @@ class SmartScanThing(Thing):
|
||||||
recentre.looping_autofocus()
|
recentre.looping_autofocus()
|
||||||
# move to each x-y position. in z, move to the height of the closest x-y position that successfully focused
|
# move to each x-y position. in z, move to the height of the closest x-y position that successfully focused
|
||||||
while len(path) > 0:
|
while len(path) > 0:
|
||||||
|
ensure_free_disk_space(scan_path)
|
||||||
|
|
||||||
loc = [path[0][0], path[0][1], stage.position["z"]]
|
loc = [path[0][0], path[0][1], stage.position["z"]]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue