From 33809820ebd9dd5aee23a3020f47104e5ddeb68e Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 2 May 2015 01:20:04 +0200 Subject: Fix typo --- cutter.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cutter.go') diff --git a/cutter.go b/cutter.go index a3b9cb7..11f3918 100644 --- a/cutter.go +++ b/cutter.go @@ -159,8 +159,8 @@ func (c Cutter) LineScale(n int) { c.Emit() } -func (c Cutter) Factor(p, q, r int) { - fmt.Fprintf(c, "&%v,%v,%v", p, q, r) +func (c Cutter) Factor(n int) { + fmt.Fprintf(c, "&%v,%v,%v", n, n, n) c.Emit() } @@ -248,12 +248,12 @@ func parsePoint(s string) (p Point) { func (c Cutter) RegistrationMarksLength(n int) { fmt.Fprint(c, "TB51,", n) - e.Emit() + c.Emit() } func (c Cutter) Calibrate() { fmt.Fprint(c, "TB70") - e.Emit() + c.Emit() } // Sensor position -- cgit v1.2.3