Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
OCSYT committed Feb 28, 2024
1 parent d20a556 commit 216a3fd
Show file tree
Hide file tree
Showing 7 changed files with 3,388 additions and 261 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ function sendBatteryLevel(batteryLevel) {
var view = new DataView(buffer);
view.setInt32(0, 12);
view.setBigInt64(4, BigInt(PACKET_COUNTER));
view.setFloat32(12, 0);
view.setFloat32(12, 5);
view.setFloat32(16, batteryLevel);
sendBuffer = new Uint8Array(buffer);
sock.send(sendBuffer, 0, sendBuffer.length, SLIME_PORT, SLIME_IP, (err) => {
Expand Down
Loading

0 comments on commit 216a3fd

Please sign in to comment.