uorb/sensor/gps: fix uorinfo_raw print error

[   15.979300] [24] [  INFO] [ap] sensor_gps_satellite: timestamp: 15979200 (100 us ago)
[   15.979400] [24] [  INFO] [ap] sensor_gps_satellite: number:0 svid: 13elevation: 54azimuth: 253 snr: 0
[   15.979600] [24] [  INFO] [ap] sensor_gps_satellite: number:1 svid: 21elevation: 43azimuth: 77 snr: 0
[   15.979700] [24] [  INFO] [ap] sensor_gps_satellite: number:2 svid: 22elevation: 9azimuth: 35 snr: 0
[   15.979800] [24] [  INFO] [ap] sensor_gps_satellite: number:3 svid: 23elevation: 23azimuth: 268 snr: 0

Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
This commit is contained in:
haopengxiang 2023-07-03 22:50:46 +08:00 committed by Xiang Xiao
parent 4f7abe0231
commit 6b5038ef7a

View File

@ -64,7 +64,7 @@ print_sensor_gps_satellite_message(FAR const struct orb_metadata *meta,
for (i = 0; i < message->count; i++)
{
uorbinfo_raw("%s:\tnumber:%d svid: %" PRIu32
"elevation: %" PRIu32 "azimuth: %" PRIu32
" elevation: %" PRIu32 " azimuth: %" PRIu32
" snr: %" PRIu32 "",
meta->o_name, i, message->info[i].svid,
message->info[i].elevation, message->info[i].azimuth,