Replaced outdated CFG_MSG

This commit is contained in:
Andrew Chambers
2014-02-26 14:40:28 -08:00
parent e62bf23e16
commit 341430c641
2 changed files with 2 additions and 13 deletions
+1 -12
View File
@@ -114,18 +114,7 @@
</block>
</message>
<message name="MSG" ID="0x01">
<block length="6">
<field name="Class" format="U1"/>
<field name="MsgId" format="U1"/>
<field name="Rate0" format="U1"/>
<field name="Rate1" format="U1"/>
<field name="Rate2" format="U1"/>
<field name="Rate3" format="U1"/>
</block>
</message>
<message name="MSG_RATE" ID="0x01" length="3">
<message name="MSG" ID="0x01" length="3">
<field name="Class" format="U1"/>
<field name="MsgId" format="U1"/>
<field name="Rate" format="U1"/>
+1 -1
View File
@@ -172,7 +172,7 @@ void gps_ubx_ucenter_event(void)
*/
static inline void gps_ubx_ucenter_enable_msg(uint8_t class, uint8_t id, uint8_t rate)
{
UbxSend_CFG_MSG_RATE(class, id, rate);
UbxSend_CFG_MSG(class, id, rate);
}
static bool_t gps_ubx_ucenter_autobaud(uint8_t nr)