mirror of https://github.com/ArduPilot/ardupilot
17 lines
316 B
C++
17 lines
316 B
C++
#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;
|
|
};
|