Skip to content

Commit

Permalink
fixes bug where flash 50 util requires reconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
sphawes committed May 1, 2024
1 parent f764009 commit c0e102a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions feederBus.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,12 +450,10 @@ export class feederBus {
if(response[5] == 0){
//grab uuid
let uuid = response.slice(6)

//send initialize with uuid
let initResponse = await this.sendPacket(commands.INITIALIZE, 50, uuid);

await this.sendPacket(commands.IDENTIFY_FEEDER, 0xFF, uuid);

return true

}
}
Expand Down
4 changes: 1 addition & 3 deletions serialManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,7 @@ export class serialManager {

let resp = await this.modal.show("Left Vacuum Sensor Value", leftVal);

this.clearBuffer();


this.clearBuffer();

}

Expand Down

0 comments on commit c0e102a

Please sign in to comment.