Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jintj committed Dec 10, 2024
1 parent bcd55c8 commit 9a46dca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/third_reality.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const fzLocal = {
type: ['attributeReport', 'readResponse'],
convert: (model, msg, publish, options, meta) => {
if (msg.data['0'] == 0) return;
const payload = {x_axis: msg.data['x_axis'], y_axis: msg.data['y_axis'], z_axis: msg.data['z_axis']};
const payload = {"x_axis": msg.data['x_axis'], "y_axis": msg.data['y_axis'], "z_axis": msg.data['z_axis']};
return payload;
},
} satisfies Fz.Converter,
Expand Down

0 comments on commit 9a46dca

Please sign in to comment.