diff harelet.c @ 3:eb7a7364994c

Automated Vimcurial commmit
author VilyaemKenyaz
date Fri, 08 Sep 2023 08:02:33 -0400
parents 1b0ebe86b44c
children 0ed615367b10
line wrap: on
line diff
--- a/harelet.c	Fri Sep 08 07:54:05 2023 -0400
+++ b/harelet.c	Fri Sep 08 08:02:33 2023 -0400
@@ -82,7 +82,9 @@
 		strcat(instruction,"G0 X");
 		strcat(instruction,sprintf("%d",points[i].X));
 		strcat(instruction," Y");
-		strcat(inustrction,sprintf
+		strcat(inustrction,sprintf("%d",points[i].Y));
+		strcat(instructions," Z");
+		strcat(instructions,sprintf("%d",points[i].Z));
 		//Write to string
 		strcat(file,instruction);
 		}