Skip to content

Commit 457890d

Browse files
committed
BaseClasses: CoreDataPage: Fix functional call
getDataPageNumber was calling getData which behaves very differently between RX and TX, the naming is poor but lets work around it
1 parent 3032928 commit 457890d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BaseClasses/ANTPLUS_CoreDataPage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ CoreDataPage<T>::CoreDataPage() : T() {
1111
template<class T>
1212
uint8_t CoreDataPage<T>::getDataPageNumber() {
1313
// TODO handle shared channels
14-
return this->getData(ANTPLUS_DEFAULT_DATAPAGE_BYTE);
14+
return this->get8BitValue(ANTPLUS_DEFAULT_DATAPAGE_BYTE);
1515
}
1616

1717
template<class T>

0 commit comments

Comments
 (0)