mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
AP_HAL: make in_main_thread public, pure and virtual
This commit is contained in:
parent
6bc4ab638a
commit
68652867e1
@ -54,5 +54,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