Merge pull request #292 from DrTon/ubx_msg_rate_fix

Fixed bug in UBX::configure_message_rate()
This commit is contained in:
Lorenz Meier 2013-06-01 09:46:11 -07:00
commit 68b884ee6c
1 changed files with 1 additions and 1 deletions

View File

@ -739,7 +739,7 @@ UBX::configure_message_rate(uint8_t msg_class, uint8_t msg_id, uint8_t rate)
msg.msg_class = msg_class;
msg.msg_id = msg_id;
msg.rate = rate;
send_message(CFG, UBX_MESSAGE_CFG_MSG, &msg, sizeof(msg));
send_message(UBX_CLASS_CFG, UBX_MESSAGE_CFG_MSG, &msg, sizeof(msg));
}
void