mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 07:03:34 +08:00
UAVCAN Sensors: Improve error handling
Also add new 'generic' device types for UAVCAN sensors Other misc. cleanup and style changes.
This commit is contained in:
committed by
Daniel Agar
parent
693a47fca3
commit
1e5784609f
@@ -57,7 +57,7 @@ public:
|
||||
|
||||
void update(hrt_abstime timestamp, float pressure);
|
||||
|
||||
int get_class_instance(void) { return _class_device_instance; };
|
||||
int get_class_instance() { return _class_device_instance; };
|
||||
|
||||
void print_status();
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
|
||||
void update(hrt_abstime timestamp_sample, float x, float y, float z);
|
||||
|
||||
int get_class_instance(void) { return _class_device_instance; };
|
||||
int get_class_instance() { return _class_device_instance; };
|
||||
|
||||
void print_status();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user