ardupilot/libraries/AP_Baro/AP_Baro_HIL.h

18 lines
316 B
C++

/*
dummy backend for HIL (and SITL). This doesn't actually need to do
any work, as setHIL() is in the frontend
*/
#pragma once
#include "AP_Baro_Backend.h"
class AP_Baro_HIL : public AP_Baro_Backend
{
public:
AP_Baro_HIL(AP_Baro &baro);
void update(void) override;
private:
uint8_t _instance;
};