Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 67c9b51

Browse files
committed
fec: fix incline lookup
byte order is reversed
1 parent ae89b84 commit 67c9b51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Profiles/Fec/DataPages/ANTPLUS_FecGeneralSettingsPage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ uint8_t FecBaseGeneralSettingsPage<T>::getCycleLength() {
1717

1818
template<class T>
1919
uint16_t FecBaseGeneralSettingsPage<T>::getIncline() {
20-
return this->get16BitValue(INCLINE_MSB_BYTE, INCLINE_LSB_BYTE);
20+
return this->get16BitValue(INCLINE_LSB_BYTE, INCLINE_MSB_BYTE);
2121
}
2222

2323
template<class T>

0 commit comments

Comments
 (0)