You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
425 B
23 lines
425 B
#pragma once |
|
|
|
#include <AP_HAL/AP_HAL.h> |
|
|
|
class HAL_Linux : public AP_HAL::HAL { |
|
public: |
|
HAL_Linux(); |
|
void run(int argc, char* const* argv, Callbacks* callbacks) const override; |
|
|
|
void setup_signal_handlers() const; |
|
|
|
static void exit_signal_handler(int); |
|
|
|
protected: |
|
bool _should_exit = false; |
|
}; |
|
|
|
#if HAL_NUM_CAN_IFACES |
|
namespace Linux { |
|
class CANIface; |
|
} |
|
typedef Linux::CANIface HAL_CANIface; |
|
#endif
|
|
|