mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 14:48:28 -04:00
AP_HAL: make in_main_thread public, pure and virtual
This commit is contained in:
parent
f9f20970c9
commit
4cb981afa6
@ -61,5 +61,8 @@ public:
|
|||||||
*/
|
*/
|
||||||
virtual void stop_clock(uint64_t time_usec) {}
|
virtual void stop_clock(uint64_t time_usec) {}
|
||||||
|
|
||||||
|
virtual bool in_main_thread() const = 0;
|
||||||
|
|
||||||
virtual void create_uavcan_thread() {};
|
virtual void create_uavcan_thread() {};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user