mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-05 15:30:08 +08:00
Replaced outdated CFG_MSG
This commit is contained in:
+1
-12
@@ -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"/>
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user