mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 17:23:35 +08:00
device: initialise device id
Conflicts: mavlink/include/mavlink/v1.0
This commit is contained in:
committed by
Lorenz Meier
parent
94574f1a58
commit
0e51b99915
@@ -97,6 +97,7 @@ Device::Device(const char *name,
|
||||
|
||||
/* setup a default device ID. When bus_type is UNKNOWN the
|
||||
other fields are invalid */
|
||||
_device_id.devid = 0;
|
||||
_device_id.devid_s.bus_type = DeviceBusType_UNKNOWN;
|
||||
_device_id.devid_s.bus = 0;
|
||||
_device_id.devid_s.address = 0;
|
||||
|
||||
Reference in New Issue
Block a user