mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Fix compile error in parser
This commit is contained in:
parent
72f6aaca96
commit
7b0ac1db85
@ -156,7 +156,7 @@ uint8_t st24_decode(uint8_t byte, uint8_t *rssi, uint8_t* rx_count, uint16_t *ch
|
||||
|
||||
case ST24_PACKET_TYPE_CHANNELDATA24:
|
||||
{
|
||||
ChannelData24* d = (ChannelData12*)&_rxpacket;
|
||||
ChannelData24* d = (ChannelData24*)&_rxpacket;
|
||||
|
||||
*rssi = d->rssi;
|
||||
*rx_count = d->packet_count;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user