Skip to content

Commit 9ee1663

Browse files
committed
Fix writing direction of ID
1 parent cf90c10 commit 9ee1663

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

deviceConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
function setConfig(dataView, structure) {
224224
var b = new serializer();
225225
b.setInt8Array(dataView, structure.version);
226-
dataView.setUint32(b.index, structure.id);
226+
dataView.setUint32(b.index, structure.id, 1);
227227
b.add(4);
228228
b.setFloat32Array(dataView, structure.pcbOrientation);
229229
b.setFloat32Array(dataView, structure.pcbTranslation);

0 commit comments

Comments
 (0)