Add additional logging

This commit is contained in:
sixteenmillimeter 2020-10-03 21:33:45 -04:00
parent eb7e62aac7
commit e84f1ce8ff
8 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{
"version": "1.6.5",
"version": "1.6.6",
"ext_port": 1111,
"profiles": {
"mcopy": {

View File

@ -164,6 +164,7 @@ class Arduino {
const end = new Date().getTime();
const ms = end - this.timer;
let complete;
console.log(`${serial} -> ${data}`);
if (this.queue[data] !== undefined) {
this.locks[serial] = false;
complete = this.queue[data](ms); //execute callback

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
{
"version": "1.6.5",
"version": "1.6.6",
"ext_port": 1111,
"profiles": {
"mcopy": {

View File

@ -164,6 +164,7 @@ class Arduino {
const end = new Date().getTime();
const ms = end - this.timer;
let complete;
console.log(`${serial} -> ${data}`);
if (this.queue[data] !== undefined) {
this.locks[serial] = false;
complete = this.queue[data](ms); //execute callback

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
{
"version": "1.6.5",
"version": "1.6.6",
"ext_port": 1111,
"profiles": {
"mcopy": {

View File

@ -174,6 +174,7 @@ class Arduino {
const end : number = new Date().getTime();
const ms : number = end - this.timer;
let complete : any;
console.log(`${serial} -> ${data}`);
if (this.queue[data] !== undefined) {
this.locks[serial] = false;
complete = this.queue[data](ms); //execute callback