ardupilot/libraries/AP_Baro/AP_Baro_HIL.h

19 lines
385 B
C++

/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
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);
private:
uint8_t _instance;
};