Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Commit f74d097

Browse files
committed
Added a note about extractLong etc being hardwired
1 parent 41cfef8 commit f74d097

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/SparkFun_Ublox_Arduino_Library.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,9 @@ void SFE_UBLOX_GPS::processUBX(uint8_t incoming, ubxPacket *incomingUBX, uint8_t
867867
}
868868

869869
//Once a packet has been received and validated, identify this packet's class/id and update internal flags
870+
//Note: if the user requests a PVT or a HPPOSLLH message using a custom packet, the data extraction will
871+
// not work as expected beacuse extractLong etc are hardwired to packetCfg payloadCfg. Ideally
872+
// extractLong etc should be updated so they receive a pointer to the packet buffer.
870873
void SFE_UBLOX_GPS::processUBXpacket(ubxPacket *msg)
871874
{
872875
switch (msg->cls)

0 commit comments

Comments
 (0)