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 6bc4ab638a
commit 68652867e1
1 changed files with 3 additions and 0 deletions

View File

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