Copter: free allocations in case of allocation failure
[ardupilot.git] / libraries / AP_Frsky_Telem / AP_Frsky_config.h
blob72945419bfde6d011cf719c47112d55709b71404
1 #pragma once
3 #include <AP_HAL/AP_HAL_Boards.h>
5 #ifndef AP_FRSKY_TELEM_ENABLED
6 #define AP_FRSKY_TELEM_ENABLED 1
7 #endif
9 #ifndef AP_FRSKY_D_TELEM_ENABLED
10 #define AP_FRSKY_D_TELEM_ENABLED AP_FRSKY_TELEM_ENABLED
11 #endif
13 #ifndef AP_FRSKY_SPORT_TELEM_ENABLED
14 #define AP_FRSKY_SPORT_TELEM_ENABLED AP_FRSKY_TELEM_ENABLED
15 #endif
17 #ifndef AP_FRSKY_SPORT_PASSTHROUGH_ENABLED
18 #define AP_FRSKY_SPORT_PASSTHROUGH_ENABLED AP_FRSKY_SPORT_TELEM_ENABLED
19 #endif
21 #ifndef HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL
22 #define HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL AP_FRSKY_SPORT_PASSTHROUGH_ENABLED
23 #endif