Copter: free allocations in case of allocation failure
[ardupilot.git] / libraries / AP_ESC_Telem / AP_ESC_Telem_SITL.h
blob4218f718b35c6cf2d5eca569b8dad91cc646b412
1 #pragma once
3 #include <AP_HAL/AP_HAL.h>
4 #include "AP_ESC_Telem_Backend.h"
5 #include <SITL/SITL.h>
7 #if CONFIG_HAL_BOARD == HAL_BOARD_SITL
9 class AP_ESC_Telem_SITL : public AP_ESC_Telem_Backend {
10 public:
11 AP_ESC_Telem_SITL();
13 void update();
15 protected:
17 private:
20 #endif