Skip to content

Commit

Permalink
Removed unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
randomcoffeesnob committed May 26, 2024
1 parent 5691fc5 commit 8a97ca1
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/classes/devices/bokooScale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,6 @@ export class BookooScale extends BluetoothScale {
}
}

public async getInt(buffer: Uint8Array) {
const bytes = new DataView(new ArrayBuffer(buffer.length));
let i = 0;
const list = new Uint8Array(bytes.buffer);
for (const value of buffer) {
list[i] = buffer[i];
i++;
}
return bytes.getInt32(0, false);
}

public override getWeight() {
return this.weight.actual;
}
Expand Down

0 comments on commit 8a97ca1

Please sign in to comment.