RC_Channel: remove check for AVR CPUs
Remove the checks for HAL_CPU_CLASS > HAL_CPU_CLASS_16 and HAL_CPU_CLASS >= HAL_CPU_CLASS_75. Corresponding dead code will be removed on separate commits.
This commit is contained in:
parent
45c472205b
commit
2a91d2169e
@ -10,11 +10,7 @@
|
|||||||
#include <AP_HAL/AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
#include "RC_Channel.h"
|
#include "RC_Channel.h"
|
||||||
|
|
||||||
#if HAL_CPU_CLASS > HAL_CPU_CLASS_16
|
|
||||||
#define RC_AUX_MAX_CHANNELS 12
|
#define RC_AUX_MAX_CHANNELS 12
|
||||||
#else
|
|
||||||
#define RC_AUX_MAX_CHANNELS 8
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/// @class RC_Channel_aux
|
/// @class RC_Channel_aux
|
||||||
/// @brief Object managing one aux. RC channel (CH5-8), with information about its function
|
/// @brief Object managing one aux. RC channel (CH5-8), with information about its function
|
||||||
|
Loading…
Reference in New Issue
Block a user