diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-02-12 12:21:23 +0100 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-02-12 12:21:23 +0100 |
commit | 179aa17a3842bb68fa3849e890d20cfb9a1a5392 (patch) | |
tree | 34034f38e99fa50f46c086ac248777ca53db569b /src/modules/uORB/topics/telemetry_status.h | |
parent | 16908f9aff0e7ad0f967613adf2be9a00c1c6cce (diff) | |
download | px4-firmware-179aa17a3842bb68fa3849e890d20cfb9a1a5392.tar.gz px4-firmware-179aa17a3842bb68fa3849e890d20cfb9a1a5392.tar.bz2 px4-firmware-179aa17a3842bb68fa3849e890d20cfb9a1a5392.zip |
sdlog2: TELE (telemetry status) message added, type for 'rssi' and 'remote_rssi' in 'telemetry_status' topic fixed to be consistent with 'noise'/'remote_noise' and mavlink message.
Diffstat (limited to 'src/modules/uORB/topics/telemetry_status.h')
-rw-r--r-- | src/modules/uORB/topics/telemetry_status.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/uORB/topics/telemetry_status.h b/src/modules/uORB/topics/telemetry_status.h index 828fb31cc..5192d4d58 100644 --- a/src/modules/uORB/topics/telemetry_status.h +++ b/src/modules/uORB/topics/telemetry_status.h @@ -58,10 +58,10 @@ enum TELEMETRY_STATUS_RADIO_TYPE { struct telemetry_status_s { uint64_t timestamp; enum TELEMETRY_STATUS_RADIO_TYPE type; /**< type of the radio hardware */ - unsigned rssi; /**< local signal strength */ - unsigned remote_rssi; /**< remote signal strength */ - unsigned rxerrors; /**< receive errors */ - unsigned fixed; /**< count of error corrected packets */ + uint8_t rssi; /**< local signal strength */ + uint8_t remote_rssi; /**< remote signal strength */ + uint16_t rxerrors; /**< receive errors */ + uint16_t fixed; /**< count of error corrected packets */ uint8_t noise; /**< background noise level */ uint8_t remote_noise; /**< remote background noise level */ uint8_t txbuf; /**< how full the tx buffer is as a percentage */ @@ -73,4 +73,4 @@ struct telemetry_status_s { ORB_DECLARE(telemetry_status); -#endif /* TOPIC_TELEMETRY_STATUS_H */
\ No newline at end of file +#endif /* TOPIC_TELEMETRY_STATUS_H */ |