Skip to content

Commit 4faaa74

Browse files
authored
Merge pull request #2954 from irarykim/develop-hw
Entry.hw.portData 초기화 조건 수정
2 parents c721802 + b8283c3 commit 4faaa74

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/playground/blocks/hardware/block_robotis.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,12 @@ Entry.Robotis_carCont = {
5151
this.update();
5252
return script.callReturn();
5353
}
54-
// clear portData only if not RB-100 practical kit
54+
// clear portData only if not RB-100
5555
if (Entry.hw.hwModule.id != "7.A,7.B" &&
56-
Entry.hw.hwModule.id != "7.C" ) {
56+
Entry.hw.hwModule.id != "7.C" &&
57+
Entry.hw.hwModule.id != "7.5,7.6" &&
58+
Entry.hw.hwModule.id != "7.7,7.8" &&
59+
Entry.hw.hwModule.id != "7.9") {
5760
Entry.hw.portData = {};
5861
}
5962
setTimeout(function() {

0 commit comments

Comments
 (0)