Skip to content

Commit 7cc7cb8

Browse files
JianyuWang0623xiaoxiang781216
authored andcommitted
system/uORB: Add flags for gnss satellite format
Some applications require satellite information for positioning using the flag USED_IN_FIX. More details: apache/nuttx#16805 Signed-off-by: wangjianyu3 <[email protected]>
1 parent c19c2a7 commit 7cc7cb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

system/uorb/sensor/gnss.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151
",svid" #idx ":%" PRIu32 \
5252
",elevation" #idx ":%" PRIu32 \
5353
",azimuth" #idx ":%" PRIu32 \
54-
",snr" #idx ":%" PRIu32 ""
54+
",snr" #idx ":%" PRIu32 \
55+
",flags" #idx ":%" PRIx32 ""
5556

5657
static const char sensor_gnss_format[] =
5758
UORB_DEBUG_FORMAT_SENSOR_GNSS ",firmware_version:%" PRIu32 "";

0 commit comments

Comments
 (0)