List of devices looks strange on laptop. Attempt at fix here
This commit is contained in:
parent
da735779b4
commit
2779258111
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.8.98",
|
"version": "1.8.99",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
|
@ -38,8 +38,8 @@ class Devices {
|
||||||
$('#cam_time').removeAttr('readonly');
|
$('#cam_time').removeAttr('readonly');
|
||||||
}
|
}
|
||||||
for (let i in arg) {
|
for (let i in arg) {
|
||||||
devs.push(arg[i].arduino);
|
if (typeof arg[i].arduino !== 'undefined' && arg[i].arduino !== '/dev/fake') {
|
||||||
if (arg[i].arduino && arg[i].arduino !== '/dev/fake') {
|
devs.push(arg[i].arduino);
|
||||||
if (notify === 'Connected to ') {
|
if (notify === 'Connected to ') {
|
||||||
notify += arg[i].arduino + ' ';
|
notify += arg[i].arduino + ' ';
|
||||||
}
|
}
|
||||||
|
@ -86,6 +86,7 @@ class Devices {
|
||||||
//add capper features to grid
|
//add capper features to grid
|
||||||
capper.enable();
|
capper.enable();
|
||||||
}
|
}
|
||||||
|
log.info("Before stats");
|
||||||
seq.set(0, cfg.cmd.camera_forward);
|
seq.set(0, cfg.cmd.camera_forward);
|
||||||
seq.set(1, cfg.cmd.projector_forward);
|
seq.set(1, cfg.cmd.projector_forward);
|
||||||
grid.state(0);
|
grid.state(0);
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy-app",
|
"name": "mcopy-app",
|
||||||
"version": "1.8.98",
|
"version": "1.8.99",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy-app",
|
"name": "mcopy-app",
|
||||||
"version": "1.8.98",
|
"version": "1.8.99",
|
||||||
"description": "GUI for the mcopy small gauge film optical printer platform",
|
"description": "GUI for the mcopy small gauge film optical printer platform",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -35,8 +35,8 @@ class Devices {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (let i in arg) {
|
for (let i in arg) {
|
||||||
devs.push(arg[i].arduino);
|
if (typeof arg[i].arduino !== 'undefined' && arg[i].arduino !== '/dev/fake') {
|
||||||
if (arg[i].arduino && arg[i].arduino !== '/dev/fake') {
|
devs.push(arg[i].arduino);
|
||||||
if (notify === 'Connected to ') {
|
if (notify === 'Connected to ') {
|
||||||
notify += arg[i].arduino + ' ';
|
notify += arg[i].arduino + ' ';
|
||||||
} else {
|
} else {
|
||||||
|
@ -86,7 +86,7 @@ class Devices {
|
||||||
//add capper features to grid
|
//add capper features to grid
|
||||||
capper.enable();
|
capper.enable();
|
||||||
}
|
}
|
||||||
|
log.info("Before stats");
|
||||||
seq.set(0, cfg.cmd.camera_forward);
|
seq.set(0, cfg.cmd.camera_forward);
|
||||||
seq.set(1, cfg.cmd.projector_forward);
|
seq.set(1, cfg.cmd.projector_forward);
|
||||||
grid.state(0);
|
grid.state(0);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.8.98",
|
"version": "1.8.99",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy",
|
"name": "mcopy",
|
||||||
"version": "1.8.98",
|
"version": "1.8.99",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "mcopy",
|
"name": "mcopy",
|
||||||
"version": "1.8.98",
|
"version": "1.8.99",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"alert": "file:app/lib/alert",
|
"alert": "file:app/lib/alert",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "mcopy",
|
"name": "mcopy",
|
||||||
"version": "1.8.98",
|
"version": "1.8.99",
|
||||||
"description": "Small gauge film optical printer platform",
|
"description": "Small gauge film optical printer platform",
|
||||||
"main": "build.js",
|
"main": "build.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"version": "1.8.98",
|
"version": "1.8.99",
|
||||||
"ext_port": 1111,
|
"ext_port": 1111,
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"mcopy": {
|
"mcopy": {
|
||||||
|
|
Loading…
Reference in New Issue