Skip to content

Commit

Permalink
orbit_intlk: fix ANG_EN reading.
Browse files Browse the repository at this point in the history
The error was only in the decoder, since this module doesn't use
RegisterDecoderController yet and the write in the controller was
correct.
  • Loading branch information
ericonr committed Sep 13, 2024
1 parent d135552 commit 54655c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/orbit_intlk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void Core::decode()
add_general("EN", get_bit(t, ORBIT_INTLK_CTRL_EN));
add_general("MIN_SUM_EN", get_bit(t, ORBIT_INTLK_CTRL_MIN_SUM_EN));
add_general("POS_EN", get_bit(t, ORBIT_INTLK_CTRL_TRANS_EN));
add_general("ANG_EN", get_bit(t, ORBIT_INTLK_CTRL_ANG_CLR));
add_general("ANG_EN", get_bit(t, ORBIT_INTLK_CTRL_ANG_EN));

t = regs.sts;
add_general("POS_UPPER_X", get_bit(t, ORBIT_INTLK_STS_TRANS_BIGGER_X));
Expand Down

0 comments on commit 54655c7

Please sign in to comment.