-
Notifications
You must be signed in to change notification settings - Fork 346
[1.9.42] 버전업 PR #632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.9.42] 버전업 PR #632
Conversation
잘못된 적용삭제
잘못된 파일
잘못된 파일
하드웨어 이미지 교체/블록 추가
하드웨어 이미지 교체/블록 추가
하드웨어 이미지 변경, 블록 추가 및 수정
This reverts commit 71a2b1c.
This reverts commit d1ad6b9.
This reverts commit 87f36f7.
This reverts commit 917ffb0.
This reverts commit 6231eee.
This reverts commit f2bd8d2.
This reverts commit d756487.
This reverts commit dab96b2.
Develop hw
네오캐논 교구 신규 등록
Develop hw
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
eslint
app/modules/dalgona.js|1051 col 34| Unexpected space before function parentheses.
app/modules/dalgona.js|1058 col 43| Unexpected space before function parentheses.
app/modules/neo_cannon.js|194 col 13| Expected { after 'if' condition.
|
|
||
| let sensorIdx = 0; | ||
|
|
||
| Module.prototype.init = function (handler, config) {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected space before function parentheses.
| Module.prototype.init = function (handler, config) {}; | |
| Module.prototype.init = function(handler, config) {}; |
|
|
||
| Module.prototype.init = function (handler, config) {}; | ||
|
|
||
| Module.prototype.setSerialPort = function (sp) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected space before function parentheses.
| Module.prototype.setSerialPort = function (sp) { | |
| Module.prototype.setSerialPort = function(sp) { |
| this.sp = sp; | ||
| }; | ||
|
|
||
| Module.prototype.requestInitialData = function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected space before function parentheses.
| Module.prototype.requestInitialData = function () { | |
| Module.prototype.requestInitialData = function() { |
| //return this.makeSensorReadBuffer(this.sensorTypes.ANALOG, 0); | ||
| }; | ||
|
|
||
| Module.prototype.checkInitialData = function (data, config) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected space before function parentheses.
| Module.prototype.checkInitialData = function (data, config) { | |
| Module.prototype.checkInitialData = function(data, config) { |
| // return isValidData; | ||
| }; | ||
|
|
||
| Module.prototype.afterConnect = function (that, cb) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected space before function parentheses.
| Module.prototype.afterConnect = function (that, cb) { | |
| Module.prototype.afterConnect = function(that, cb) { |
| if ($.isPlainObject(data)) { | ||
| textLen = ('' + data.text).length; | ||
| // console.log(textLen); | ||
| text = Buffer.from('' + data.text, 'ascii'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected string concatenation.
| text = Buffer.from('' + data.text, 'ascii'); | |
| text = Buffer.from(`${ data.text}`, 'ascii'); |
| case this.sensorTypes.MP3PLAY2: { | ||
| const tx = new Buffer(2); | ||
| const num = new Buffer(2); | ||
| const time_value = new Buffer(2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
|
||
| buffer = new Buffer([255, 85, 10, sensorIdx, this.actionTypes.SET, device, port]); | ||
|
|
||
| buffer = Buffer.concat([buffer, tx, num, time_value, dummy]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| return buffer; | ||
| }; | ||
|
|
||
| Module.prototype.getDataByBuffer = function (buffer) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected space before function parentheses.
| Module.prototype.getDataByBuffer = function (buffer) { | |
| Module.prototype.getDataByBuffer = function(buffer) { |
| return datas; | ||
| }; | ||
|
|
||
| Module.prototype.disconnect = function (connect) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected space before function parentheses.
| Module.prototype.disconnect = function (connect) { | |
| Module.prototype.disconnect = function(connect) { |
하드웨어 1.9.42
신규 하드웨어
기존 하드웨어