AP_HAL: make in_main_thread public, pure and virtual

This commit is contained in:
Peter Barker 2017-09-18 11:01:43 +10:00 committed by Andrew Tridgell
parent f9f20970c9
commit 4cb981afa6

View File

@ -61,5 +61,8 @@ public:
*/
virtual void stop_clock(uint64_t time_usec) {}
virtual bool in_main_thread() const = 0;
virtual void create_uavcan_thread() {};
};