projects
/
challenge-bot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9f22c3
)
use sync to ensure file written to sd card
author
daniel watson
<ozzloy@gmail.com>
Thu, 14 Jan 2016 00:47:57 +0000
(16:47 -0800)
committer
daniel watson
<ozzloy@gmail.com>
Thu, 14 Jan 2016 00:47:57 +0000
(16:47 -0800)
rather than rely on just waiting for 1 second, use sync to ensure
that copying the generated gcode to the sd card is complete before
unmounting it. this will most of the time be quicker than 1 second,
but also will be longer if necessary.
3d-printables/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/3d-printables/Makefile
b/3d-printables/Makefile
index 05367aafed7bf708f43b385647012948b4d0eb4b..baec12c22911f307b15e5e88b950d7f7edf4b41a 100644
(file)
--- a/
3d-printables/Makefile
+++ b/
3d-printables/Makefile
@@
-9,7
+9,7
@@
%-makerfarm.print: %-makerfarm.gcode
cp $< /media/${USER}/3D-PRINTER
- s
leep 1
+ s
ync
umount /media/${USER}/3D-PRINTER
%-materia-101.gcode: %.stl materia-101.ini