Skip to content

Commit

Permalink
fix: Update 3r Vibration sensor xyz axis (#8434)
Browse files Browse the repository at this point in the history
Co-authored-by: jintj <[email protected]>
Co-authored-by: Koen Kanters <[email protected]>
  • Loading branch information
3 people authored Dec 4, 2024
1 parent d9978b2 commit d8c660c
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 = {xAxis: msg.data['xAxis'], yAxis: msg.data['yAxis'], zAxis: msg.data['zAxis']};
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 d8c660c

Please sign in to comment.