Skip to content

Commit

Permalink
ubx: fix unsupported message with NEO-M9N Ublox module. (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-dvorak authored Aug 3, 2023
1 parent b94378b commit 1de64da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ubx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -665,8 +665,8 @@ int GPSDriverUBX::configureDevice(const GPSConfig &config, const int32_t uart2_b
cfg_valset_msg_size = initCfgValset();
cfgValsetPort(UBX_CFG_KEY_MSGOUT_UBX_NAV_PVT_I2C, 1, cfg_valset_msg_size);

// There is no RTCM on M10
if (_board != Board::u_blox10) {
// There is no RTCM on M10 and M9* (except F9P)
if (_board != Board::u_blox10 && _board != Board::u_blox9) {
cfgValsetPort(UBX_CFG_KEY_MSGOUT_UBX_NAV_HPPOSLLH_I2C, 1, cfg_valset_msg_size);
cfgValsetPort(UBX_CFG_KEY_MSGOUT_UBX_NAV_RELPOSNED_I2C,
_mode == UBXMode::RoverWithMovingBase || _mode == UBXMode::RoverWithMovingBaseUART1 ? 1 : 0,
Expand Down

0 comments on commit 1de64da

Please sign in to comment.