mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 16:43:35 +08:00
mavlink: move the msg id from uint8_t to uint16_t
With mavlink2 new messages are added with msg IDs greated than 255. Therefore the msg ID types needed to be raised everywhere.
This commit is contained in:
@@ -74,7 +74,7 @@ public:
|
||||
*/
|
||||
int update(const hrt_abstime t);
|
||||
virtual const char *get_name() const = 0;
|
||||
virtual uint8_t get_id() = 0;
|
||||
virtual uint16_t get_id() = 0;
|
||||
|
||||
/**
|
||||
* @return true if steam rate shouldn't be adjusted
|
||||
|
||||
Reference in New Issue
Block a user