aboutsummaryrefslogtreecommitdiff
path: root/cutter.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-05-02 01:20:04 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-05-02 01:20:04 +0200
commit33809820ebd9dd5aee23a3020f47104e5ddeb68e (patch)
tree51197dba26b6029c25e9da5719a36c929efdddb2 /cutter.go
parentaced6a38b47a5a1274687a1150c5030afd1b0751 (diff)
Fix typo
Diffstat (limited to 'cutter.go')
-rw-r--r--cutter.go8
1 files changed, 4 insertions, 4 deletions
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