Skip to content

Commit

Permalink
Support second ADC value
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Nov 22, 2019
1 parent 8b56fec commit 2bccfa2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ private void decodeOtherParameter(Position position, int id, ByteBuf buf, int le
case 9:
position.set(Position.PREFIX_ADC + 1, readValue(buf, length, false));
break;
case 10:
position.set(Position.PREFIX_ADC + 2, readValue(buf, length, false));
break;
case 17:
position.set("axisX", readValue(buf, length, true));
break;
Expand Down

0 comments on commit 2bccfa2

Please sign in to comment.