Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
cyclops1982 committed May 30, 2024
1 parent 689e063 commit 3ff04e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SparkFun_u-blox_GNSS_Arduino_Library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8213,7 +8213,7 @@ bool SFE_UBLOX_GNSS::setNAV5PositionAccuracy(uint16_t metres, uint16_t maxWait)
if (sendCommand(&packetCfg, maxWait) != SFE_UBLOX_STATUS_DATA_RECEIVED) // We are expecting data and an ACK
return (false);

payloadCfg[0] |= 0x10; // mask: set the posMark, leave other bits unchanged
payloadCfg[0] |= 0x10; // mask: set the posMask, leave other bits unchanged
payloadCfg[18] = metres & 0xFF;
payloadCfg[19] = metres >> 8;

Expand Down

0 comments on commit 3ff04e7

Please sign in to comment.