Skip to content

Commit

Permalink
fec: fix incline lookup
Browse files Browse the repository at this point in the history
byte order is reversed
  • Loading branch information
cujomalainey committed Jan 30, 2022
1 parent ae89b84 commit 67c9b51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ uint8_t FecBaseGeneralSettingsPage<T>::getCycleLength() {

template<class T>
uint16_t FecBaseGeneralSettingsPage<T>::getIncline() {
return this->get16BitValue(INCLINE_MSB_BYTE, INCLINE_LSB_BYTE);
return this->get16BitValue(INCLINE_LSB_BYTE, INCLINE_MSB_BYTE);
}

template<class T>
Expand Down

0 comments on commit 67c9b51

Please sign in to comment.