forked from Archive/PX4-Autopilot
msg: change sensor device ID's to signed integers
Required to use driver class instance as surrogate sensor ID
This commit is contained in:
parent
0485c2b94a
commit
60c12aaa36
|
@ -15,4 +15,4 @@ int16 y_raw
|
|||
int16 z_raw
|
||||
int16 temperature_raw
|
||||
|
||||
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
||||
int32 device_id # unique device ID for the sensor that does not change between power cycles
|
||||
|
|
|
@ -2,4 +2,4 @@ float32 pressure # static pressure measurement in millibar
|
|||
float32 altitude # ISA pressure altitude in meters
|
||||
float32 temperature # static temperature measurement in deg C
|
||||
uint64 error_count
|
||||
uint32 device_id # Sensor ID that must be unique for each baro sensor and must not change
|
||||
int32 device_id # Sensor ID that must be unique for each baro sensor and must not change
|
||||
|
|
|
@ -15,4 +15,4 @@ int16 y_raw
|
|||
int16 z_raw
|
||||
int16 temperature_raw
|
||||
|
||||
uint32 device_id # unique device ID for the sensor that does not change between power cycles
|
||||
int32 device_id # unique device ID for the sensor that does not change between power cycles
|
||||
|
|
Loading…
Reference in New Issue