From c8e5f7b742d878a9190ac3ff769247577f4ab6b6 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Mon, 9 Oct 2023 19:15:30 -0400 Subject: [PATCH] Caught one bug after separating out code --- app/data/cfg.json | 2 +- app/package-lock.json | 2 +- app/package.json | 2 +- data/cfg.json | 2 +- ino/mcopy_projector_firmware/McopyProjector.cpp | 2 +- package-lock.json | 4 ++-- package.json | 2 +- processing/mcopy/cfg.json | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/data/cfg.json b/app/data/cfg.json index 4d6d4c5..6879832 100644 --- a/app/data/cfg.json +++ b/app/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.51", + "version": "1.8.52", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/app/package-lock.json b/app/package-lock.json index 7cdd750..9dc8781 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.51", + "version": "1.8.52", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/app/package.json b/app/package.json index f2c1038..b3aa0f8 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "mcopy-app", - "version": "1.8.51", + "version": "1.8.52", "description": "GUI for the mcopy small gauge film optical printer platform", "main": "main.js", "scripts": { diff --git a/data/cfg.json b/data/cfg.json index 4d6d4c5..6879832 100644 --- a/data/cfg.json +++ b/data/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.51", + "version": "1.8.52", "ext_port": 1111, "profiles": { "mcopy": { diff --git a/ino/mcopy_projector_firmware/McopyProjector.cpp b/ino/mcopy_projector_firmware/McopyProjector.cpp index eac0c18..1d96e26 100644 --- a/ino/mcopy_projector_firmware/McopyProjector.cpp +++ b/ino/mcopy_projector_firmware/McopyProjector.cpp @@ -210,7 +210,7 @@ void McopyProjector::home () { Serial.println(feedPeak); takeupOffset = abs(steps - takeupPeak); - feedOffset = abs(steps - takeupPeak); + feedOffset = abs(steps - feedPeak); Serial.print("takeup offset: "); Serial.println(takeupOffset); diff --git a/package-lock.json b/package-lock.json index baf18dd..b238f32 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mcopy", - "version": "1.8.51", + "version": "1.8.52", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mcopy", - "version": "1.8.51", + "version": "1.8.52", "license": "MIT", "dependencies": { "arduino": "file:app/lib/arduino", diff --git a/package.json b/package.json index b0f54ef..dfce204 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcopy", - "version": "1.8.51", + "version": "1.8.52", "description": "Small gauge film optical printer platform", "main": "build.js", "directories": { diff --git a/processing/mcopy/cfg.json b/processing/mcopy/cfg.json index 4d6d4c5..6879832 100644 --- a/processing/mcopy/cfg.json +++ b/processing/mcopy/cfg.json @@ -1,5 +1,5 @@ { - "version": "1.8.51", + "version": "1.8.52", "ext_port": 1111, "profiles": { "mcopy": {