Skip to content

Commit

Permalink
serial usb update
Browse files Browse the repository at this point in the history
  • Loading branch information
WayneKeenan committed Sep 19, 2024
1 parent 78f8932 commit 4ee7368
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion serial/serial.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ var serial = {};
var interfaces = this.device_.configuration.interfaces;
interfaces.forEach(element => {
element.alternates.forEach(elementalt => {
if (elementalt.interfaceClass==0xFF) {
if (elementalt.interfaceClass==0xeF) {
console.log(JSON.stringify(elementalt));
this.interfaceNumber = element.interfaceNumber;
elementalt.endpoints.forEach(elementendpoint => {
if (elementendpoint.direction == "out") {
Expand Down

0 comments on commit 4ee7368

Please sign in to comment.