sync after loading gcode to card
authordaniel watson <ozzloy@gmail.com>
Wed, 12 Aug 2015 01:21:49 +0000 (18:21 -0700)
committerdaniel watson <ozzloy@gmail.com>
Wed, 12 Aug 2015 01:21:49 +0000 (18:21 -0700)
sync instead of waiting a second.  a second is almost always too
long to wait.  on occasion, it can also be too short.  sync is more
accurately what to wait for.

3d-printables/Makefile

index 9a84f08eb1c7e4c0ab1179c6b99b3255a490b468..8c1572b377320f6c9db1dc210298044484562bc1 100644 (file)
@@ -21,7 +21,7 @@
 
 %-materia-101.print: %-materia-101.gcode
        cp $< /media/${USER}/3D-PRINTER
-       sleep 1
+       sync
        umount /media/${USER}/3D-PRINTER
 
 pretty-angle-bracket: